18 lines
648 B
C#
18 lines
648 B
C#
using BeautySaloonContracts.BindingModels;
|
|
using BeautySaloonContracts.SearchModels;
|
|
using BeautySaloonContracts.ViewModels;
|
|
|
|
namespace BeautySaloonContracts.StoragesContracts
|
|
{
|
|
public interface IServiceStorage
|
|
{
|
|
List<ServiceViewModel> GetFullList();
|
|
List<ReportViewModel> ReadMostPopular();
|
|
List<ServiceViewModel> GetFilteredList(ServiceSearchModel model);
|
|
ServiceViewModel? GetElement(ServiceSearchModel model);
|
|
ServiceViewModel? Insert(ServiceBindingModel model);
|
|
ServiceViewModel? Update(ServiceBindingModel model);
|
|
ServiceViewModel? Delete(ServiceBindingModel model);
|
|
}
|
|
}
|