2023-04-06 23:41:09 +04:00
|
|
|
|
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);
|
|
|
|
|
bool CreateOrder(OrderBindingModel model);
|
2023-05-20 00:08:47 +04:00
|
|
|
|
bool Update(OrderBindingModel model);
|
|
|
|
|
bool Delete(OrderBindingModel model);
|
2023-04-06 23:41:09 +04:00
|
|
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
|
|
|
bool FinishOrder(OrderBindingModel model);
|
|
|
|
|
bool DeliveryOrder(OrderBindingModel model);
|
2023-05-20 00:08:47 +04:00
|
|
|
|
bool AddAssembly(OrderSearchModel ordermodel, AssemblySearchModel model, int amount);
|
2023-04-06 23:41:09 +04:00
|
|
|
|
}
|
|
|
|
|
}
|