diff --git a/Bank/BankDatabaseImplement/Models/Deal.cs b/Bank/BankDatabaseImplement/Models/Deal.cs index 0cb65c0..a930a76 100644 --- a/Bank/BankDatabaseImplement/Models/Deal.cs +++ b/Bank/BankDatabaseImplement/Models/Deal.cs @@ -58,7 +58,7 @@ namespace BankDatabaseImplement.Models return; } ClientId = model.ClientId; - if (model.CreditProgramId.HasValue) CreditProgramId = CreditProgramId; + if (model.CreditProgramId.HasValue) CreditProgramId = model.CreditProgramId; } public DealViewModel GetViewModel => new() {