PIbd-22-Stroev-V.M.-Plumbin.../PlumbingRepair/PlumbingRepairContracts/BusinessLogicsContracts/IOrderLogic.cs

22 lines
694 B
C#
Raw Normal View History

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);
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);
}
}