2024-02-05 19:09:54 +04:00
|
|
|
|
using FishFactoryContracts.BindingModels;
|
|
|
|
|
using FishFactoryContracts.SearchModels;
|
|
|
|
|
using FishFactoryContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FishFactoryContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2024-05-13 22:15:56 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
2024-02-05 19:09:54 +04:00
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|