SUBD_PIbd-21_Balberova_D.N./BeautySaloon/BeautySaloonContracts/StoragesContracts/IClientStorage.cs

17 lines
587 B
C#
Raw Permalink Normal View History

2023-03-28 17:32:55 +04:00
using BeautySaloonContracts.BindingModels;
using BeautySaloonContracts.SearchModels;
using BeautySaloonContracts.ViewModels;
namespace BeautySaloonContracts.StoragesContracts
{
public interface IClientStorage
{
List<ClientViewModel> GetFullList();
List<ClientViewModel> GetFilteredList(ClientSearchModel model);
ClientViewModel? GetElement(ClientSearchModel model);
ClientViewModel? Insert(ClientBindingModel model);
ClientViewModel? Update(ClientBindingModel model);
ClientViewModel? Delete(ClientBindingModel model);
}
}