2023-03-28 17:32:55 +04:00
|
|
|
|
using BeautySaloonContracts.BindingModels;
|
|
|
|
|
using BeautySaloonContracts.SearchModels;
|
|
|
|
|
using BeautySaloonContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace BeautySaloonContracts.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IServiceStorage
|
|
|
|
|
{
|
|
|
|
|
List<ServiceViewModel> GetFullList();
|
2023-03-30 13:59:00 +04:00
|
|
|
|
List<ReportViewModel> ReadMostPopular();
|
2023-03-28 17:32:55 +04:00
|
|
|
|
List<ServiceViewModel> GetFilteredList(ServiceSearchModel model);
|
|
|
|
|
ServiceViewModel? GetElement(ServiceSearchModel model);
|
|
|
|
|
ServiceViewModel? Insert(ServiceBindingModel model);
|
|
|
|
|
ServiceViewModel? Update(ServiceBindingModel model);
|
|
|
|
|
ServiceViewModel? Delete(ServiceBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|