Update Lesson 4 Task 1

This commit is contained in:
Stanislav Mykhailenko 2023-04-11 23:34:26 +03:00
parent f24c97cfb5
commit aa451af6ca
GPG key ID: 1E95E66A9C9D6A36

View file

@ -31,10 +31,7 @@
{ {
var customer = GetById(id); var customer = GetById(id);
if (customer != null) if (customer != null)
{
customer.Balance = newBalance; customer.Balance = newBalance;
(new Database()).SaveToDatabase();
}
} }
} }
} }