2024-03-22 20:10:17 +04:00
|
|
|
|
using PrecastConcretePlantContracts.BindingModels;
|
|
|
|
|
using PrecastConcretePlantContracts.SearchModels;
|
|
|
|
|
using PrecastConcretePlantContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace PrecastConcretePlantContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2024-05-02 20:47:10 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel? model);
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
2024-03-22 20:10:17 +04:00
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
2024-04-05 17:36:10 +04:00
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
2024-03-22 20:10:17 +04:00
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|