2023-02-06 16:15:16 +04:00
|
|
|
|
using SoftwareInstallationContracts.BindingModels;
|
|
|
|
|
using SoftwareInstallationContracts.SearchModels;
|
|
|
|
|
using SoftwareInstallationContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace SoftwareInstallationContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2023-04-25 20:41:59 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
2023-02-06 16:15:16 +04:00
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|