2024-03-06 09:21:43 +04:00
|
|
|
|
using GarmentFactoryContracts.BindingModels;
|
|
|
|
|
using GarmentFactoryContracts.SearchModels;
|
|
|
|
|
using GarmentFactoryContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace GarmentFactoryContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2024-04-17 10:42:00 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
2024-04-17 10:42:00 +04:00
|
|
|
|
}
|
2024-03-06 09:21:43 +04:00
|
|
|
|
}
|