SUBD_PIbd-21_Balberova_D.N./BeautySaloon/BeautySaloonContracts/BusinessLogicsContracts/IServiceLogic.cs
2023-03-30 13:59:00 +04:00

22 lines
569 B
C#

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);
List<ReportViewModel>? ReadMostPopular();
}
}