2023-03-28 16:13:50 +04:00
|
|
|
|
using BeautySaloonContracts.BindingModels;
|
|
|
|
|
using BeautySaloonContracts.SearchModels;
|
|
|
|
|
using BeautySaloonContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace BeautySaloonContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IServiceLogic
|
|
|
|
|
{
|
|
|
|
|
List<ServiceViewModel>? ReadList(ServiceSearchModel? model);
|
|
|
|
|
|
|
|
|
|
ServiceViewModel? ReadElement(ServiceSearchModel model);
|
|
|
|
|
|
|
|
|
|
bool Create(ServiceBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool Update(ServiceBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool Delete(ServiceBindingModel model);
|
2023-03-30 13:59:00 +04:00
|
|
|
|
|
|
|
|
|
List<ReportViewModel>? ReadMostPopular();
|
2023-03-28 16:13:50 +04:00
|
|
|
|
}
|
|
|
|
|
}
|