2023-02-20 08:36:19 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using TravelCompanyContracts.BindingModels;
|
|
|
|
|
using TravelCompanyContracts.SearchModels;
|
|
|
|
|
using TravelCompanyContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace TravelCompanyContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2023-05-15 02:51:05 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel? model);
|
2023-02-20 08:36:19 +04:00
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|