20 lines
581 B
C#
20 lines
581 B
C#
using PlumbingRepairContracts.BindingModels;
|
|
using PlumbingRepairContracts.SearchModels;
|
|
using PlumbingRepairContracts.ViewModels;
|
|
|
|
namespace PlumbingRepairContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IOrderLogic
|
|
{
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
}
|
|
} |