2023-02-12 22:52:23 +04:00
|
|
|
|
using AutomobilePlantContracts.BindingModels;
|
|
|
|
|
using AutomobilePlantContracts.SearchModels;
|
|
|
|
|
using AutomobilePlantContracts.ViewModels;
|
|
|
|
|
using System;
|
2023-02-12 20:41:23 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AutomobilePlantContracts.BusinessLogicContracts
|
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
public interface IOrderLogic
|
2023-02-12 20:41:23 +04:00
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2023-04-09 23:59:17 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
2023-02-12 22:52:23 +04:00
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
2023-02-12 20:41:23 +04:00
|
|
|
|
}
|
|
|
|
|
}
|