2023-04-01 16:33:03 +04:00
|
|
|
|
using HardwareShopContracts.BindingModels;
|
|
|
|
|
using HardwareShopContracts.SearchModels;
|
|
|
|
|
using HardwareShopContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace HardwareShopContracts.BuisnessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
2023-04-03 18:24:24 +04:00
|
|
|
|
bool Delete(OrderBindingModel model);
|
2023-04-01 16:33:03 +04:00
|
|
|
|
}
|
|
|
|
|
}
|