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

18 lines
648 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 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);
}
}