25 lines
843 B
C#
25 lines
843 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 ISupplyLogic
|
|
{
|
|
List<SupplyViewModel>? ReadList(SupplySearchModel? model);
|
|
SupplyViewModel? ReadElement(SupplySearchModel model);
|
|
bool Create(SupplyBindingModel model);
|
|
bool Update(SupplyBindingModel model);
|
|
bool Delete(SupplyBindingModel model);
|
|
bool CreateOrder(PurchaseBindingModel model);
|
|
bool TakeOrderInWork(PurchaseBindingModel model);
|
|
bool FinishOrder(PurchaseBindingModel model);
|
|
bool DeliveryOrder(PurchaseBindingModel model);
|
|
}
|
|
}
|