From 9222e0f647a01713d3d954060b6214c3c9f70669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B9?= Date: Sat, 1 Apr 2023 18:41:38 +0400 Subject: [PATCH] user --- .../StoragesContracts/IUserStorage.cs | 2 +- .../Implements/IUserStorage.cs | 32 +++++++++++++++---- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/HardwareShop/HardwareShopContracts/StoragesContracts/IUserStorage.cs b/HardwareShop/HardwareShopContracts/StoragesContracts/IUserStorage.cs index 70cb874..e81bfee 100644 --- a/HardwareShop/HardwareShopContracts/StoragesContracts/IUserStorage.cs +++ b/HardwareShop/HardwareShopContracts/StoragesContracts/IUserStorage.cs @@ -4,7 +4,7 @@ using HardwareShopContracts.ViewModels; namespace HardwareShopContracts.StoragesContracts { - public interface IUsertorage + public interface IUserStorage { List GetFullList(); diff --git a/HardwareShop/HardwareShopDatabaseImplement/Implements/IUserStorage.cs b/HardwareShop/HardwareShopDatabaseImplement/Implements/IUserStorage.cs index 70cb874..c04f7fc 100644 --- a/HardwareShop/HardwareShopDatabaseImplement/Implements/IUserStorage.cs +++ b/HardwareShop/HardwareShopDatabaseImplement/Implements/IUserStorage.cs @@ -4,18 +4,36 @@ using HardwareShopContracts.ViewModels; namespace HardwareShopContracts.StoragesContracts { - public interface IUsertorage + public class UserStorage : IUserStorage { - List GetFullList(); + public UserViewModel? Delete(UserBindingModel model) + { + throw new NotImplementedException(); + } - List GetFilteredList(UserSearchModel model); + public UserViewModel? GetElement(UserSearchModel model) + { + throw new NotImplementedException(); + } - UserViewModel? GetElement(UserSearchModel model); + public List GetFilteredList(UserSearchModel model) + { + throw new NotImplementedException(); + } - UserViewModel? Insert(UserBindingModel model); + public List GetFullList() + { + throw new NotImplementedException(); + } - UserViewModel? Update(UserBindingModel model); + public UserViewModel? Insert(UserBindingModel model) + { + throw new NotImplementedException(); + } - UserViewModel? Delete(UserBindingModel model); + public UserViewModel? Update(UserBindingModel model) + { + throw new NotImplementedException(); + } } } \ No newline at end of file