2024-03-23 11:06:35 +04:00
|
|
|
|
using PlumbingRepairContracts.BindingModels;
|
|
|
|
|
using PlumbingRepairContracts.SearchModels;
|
|
|
|
|
using PlumbingRepairContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace PlumbingRepairContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2024-04-19 18:02:08 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
2024-03-23 11:06:35 +04:00
|
|
|
|
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|