Update Lesson 4 Task 1
This commit is contained in:
parent
f24c97cfb5
commit
aa451af6ca
1 changed files with 0 additions and 3 deletions
|
@ -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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue