2024-05-04 19:41:17 +04:00
|
|
|
|
using SewingDressesContracts.BindingModels;
|
|
|
|
|
using SewingDressesContracts.SearchModels;
|
|
|
|
|
using SewingDressesContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace SewingDressesContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2024-05-26 13:40:22 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
2024-05-04 19:41:17 +04:00
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|