23 lines
715 B
C#
23 lines
715 B
C#
using ComputerShopContracts.BindingModels;
|
||
using ComputerShopContracts.SearchModels;
|
||
using ComputerShopContracts.ViewModels;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace ComputerShopContracts.BusinessLogicContracts
|
||
{
|
||
//!!!ПРОВЕРИТЬ, ЧТО НЕ НУЖНЫ ДРУГИЕ МЕТОДЫ
|
||
public interface IOrderLogic
|
||
{
|
||
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
||
OrderViewModel? ReadElement(OrderSearchModel model);
|
||
bool CreateOrder(OrderBindingModel model);
|
||
bool TakeOrderInWork(OrderBindingModel model);
|
||
bool FinishOrder(OrderBindingModel model);
|
||
bool DeliveryOrder(OrderBindingModel model);
|
||
}
|
||
}
|