some minor fixes in Database project
This commit is contained in:
parent
a4c94379d8
commit
82037296dd
@ -80,6 +80,7 @@ namespace BankDatabaseImplement.Models
|
||||
{
|
||||
Withdrawal = Withdrawal,
|
||||
Account = context.Accounts.First(x => x.Id == account.Key),
|
||||
Sum = account.Value.Item2,
|
||||
});
|
||||
context.SaveChanges();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user