2024-02-05 21:23:00 +04:00
|
|
|
|
using IceCreamShopContracts.BindingModels;
|
|
|
|
|
using IceCreamShopContracts.SearchModels;
|
|
|
|
|
using IceCreamShopContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace IceCreamShopContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IOrderLogic
|
|
|
|
|
{
|
|
|
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
2024-04-15 17:51:15 +04:00
|
|
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
2024-02-05 21:23:00 +04:00
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
2024-04-29 18:33:41 +04:00
|
|
|
|
|
|
|
|
|
}
|
2024-02-05 21:23:00 +04:00
|
|
|
|
}
|