some minor fixes in Database project

This commit is contained in:
Zakharov_Rostislav 2024-04-28 23:06:51 +04:00
parent a4c94379d8
commit 82037296dd

View File

@ -80,6 +80,7 @@ namespace BankDatabaseImplement.Models
{
Withdrawal = Withdrawal,
Account = context.Accounts.First(x => x.Id == account.Key),
Sum = account.Value.Item2,
});
context.SaveChanges();
}