From 1e1365b0fe9b6de62566874fff5078179e7f8d89 Mon Sep 17 00:00:00 2001 From: parap Date: Fri, 5 May 2023 00:00:29 +0400 Subject: [PATCH 1/5] refactoring --- .../Views/Shared/_Layout.cshtml | 4 +- .../DataListSingleton.cs | 2 + .../Implements/ClientStorage .cs | 99 +++++++++++++++++++ .../PizzeriaListImplement/Models/Client.cs | 45 +++++++++ .../DataFileSingleton.cs | 10 +- .../Implements/ClientStorage .cs | 82 +++++++++++++++ .../models/Client.cs | 67 +++++++++++++ 7 files changed, 303 insertions(+), 6 deletions(-) create mode 100644 Pizzeria/PizzeriaListImplement/Implements/ClientStorage .cs create mode 100644 Pizzeria/PizzeriaListImplement/Models/Client.cs create mode 100644 Pizzeria/PizzeriaShopFileImplement/Implements/ClientStorage .cs create mode 100644 Pizzeria/PizzeriaShopFileImplement/models/Client.cs diff --git a/Pizzeria/PizzeriaClientApp/Views/Shared/_Layout.cshtml b/Pizzeria/PizzeriaClientApp/Views/Shared/_Layout.cshtml index 4b3b4af..df01ec0 100644 --- a/Pizzeria/PizzeriaClientApp/Views/Shared/_Layout.cshtml +++ b/Pizzeria/PizzeriaClientApp/Views/Shared/_Layout.cshtml @@ -12,7 +12,7 @@