PIBD-21_Lobashov_I_D_Travel.../TravelCompany/TravelCompanyContracts/BusinessLogicsContracts/IOrderLogic.cs

32 lines
980 B
C#
Raw Normal View History

2024-02-07 19:42:14 +04:00
using TravelCompanyContracts.BindingModels;
using TravelCompanyContracts.SearchModels;
using TravelCompanyContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TravelCompanyContracts.BusinessLogicsContracts
{
public interface IOrderLogic
{
List<OrderViewModel>? ReadList(OrderSearchModel? model);
bool CreateOrder(OrderBindingModel model);
bool TakeOrderInWork(OrderBindingModel model);
/// <summary>
/// Готов
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
bool FinishOrder(OrderBindingModel model);
/// <summary>
/// Доставлен
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
bool DeliveryOrder(OrderBindingModel model);
2024-05-02 01:08:11 +04:00
OrderViewModel? ReadElement(OrderSearchModel model);
2024-02-07 19:42:14 +04:00
}
}