2024-02-13 23:15:11 +04:00
|
|
|
|
using PlumbingRepairContracts.BindingModels;
|
|
|
|
|
using PlumbingRepairContracts.SearchModels;
|
|
|
|
|
using PlumbingRepairContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2024-02-14 11:14:37 +04:00
|
|
|
|
namespace PlumbingRepairContracts.BusinessLogicsContracts
|
2024-02-13 23:15:11 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2024-05-03 16:09:25 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
2024-02-13 23:15:11 +04:00
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|