22 lines
689 B
C#
22 lines
689 B
C#
using ComputersShopContracts.BindingModels;
|
|
using ComputersShopContracts.SearchModels;
|
|
using ComputersShopContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ComputersShopContracts.BusinessLogicContracts
|
|
{
|
|
public interface IOrderLogic
|
|
{
|
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
|
bool CreateOrder(OrderBindingModel model);
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
bool FinishOrder(OrderBindingModel model);
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
OrderViewModel? ReadElement(OrderSearchModel model);
|
|
}
|
|
}
|