This commit is contained in:
Николай 2023-04-01 18:41:38 +04:00
parent 293856939f
commit 9222e0f647
2 changed files with 26 additions and 8 deletions

View File

@ -4,7 +4,7 @@ using HardwareShopContracts.ViewModels;
namespace HardwareShopContracts.StoragesContracts
{
public interface IUsertorage
public interface IUserStorage
{
List<UserViewModel> GetFullList();

View File

@ -4,18 +4,36 @@ using HardwareShopContracts.ViewModels;
namespace HardwareShopContracts.StoragesContracts
{
public interface IUsertorage
public class UserStorage : IUserStorage
{
List<UserViewModel> GetFullList();
public UserViewModel? Delete(UserBindingModel model)
{
throw new NotImplementedException();
}
List<UserViewModel> GetFilteredList(UserSearchModel model);
public UserViewModel? GetElement(UserSearchModel model)
{
throw new NotImplementedException();
}
UserViewModel? GetElement(UserSearchModel model);
public List<UserViewModel> GetFilteredList(UserSearchModel model)
{
throw new NotImplementedException();
}
UserViewModel? Insert(UserBindingModel model);
public List<UserViewModel> 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();
}
}
}