24 lines
812 B
C#
24 lines
812 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);
|
|
bool CreateOrder(OrderBindingModel model);
|
|
bool Update(OrderBindingModel model);
|
|
bool Delete(OrderBindingModel model);
|
|
bool TakeOrderInWork(OrderBindingModel model);
|
|
bool FinishOrder(OrderBindingModel model);
|
|
bool DeliveryOrder(OrderBindingModel model);
|
|
bool AddComponent(OrderSearchModel ordermodel, ComponentSearchModel model, int amount);
|
|
}
|
|
}
|