From aa451af6ca0c0a4d2256802e5b76239940183fc0 Mon Sep 17 00:00:00 2001 From: Stanislav Mykhailenko Date: Tue, 11 Apr 2023 23:34:26 +0300 Subject: [PATCH] Update Lesson 4 Task 1 --- Lesson_4/Task_1/CustomerList.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lesson_4/Task_1/CustomerList.cs b/Lesson_4/Task_1/CustomerList.cs index cbb3484..005ec3e 100644 --- a/Lesson_4/Task_1/CustomerList.cs +++ b/Lesson_4/Task_1/CustomerList.cs @@ -31,10 +31,7 @@ { var customer = GetById(id); if (customer != null) - { customer.Balance = newBalance; - (new Database()).SaveToDatabase(); - } } } }