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 ISupplyLogic
|
|
|
|
|
{
|
|
|
|
|
List<SupplyViewModel>? ReadList(SupplySearchModel? model);
|
|
|
|
|
SupplyViewModel? ReadElement(SupplySearchModel model);
|
|
|
|
|
bool Create(SupplyBindingModel model);
|
|
|
|
|
bool Update(SupplyBindingModel model);
|
|
|
|
|
bool Delete(SupplyBindingModel model);
|
2023-05-20 00:08:47 +04:00
|
|
|
|
bool TakeInWork(SupplyBindingModel model);
|
|
|
|
|
bool Finish(SupplyBindingModel model);
|
2023-05-20 08:34:33 +04:00
|
|
|
|
bool AddOrder(SupplySearchModel supplymodel, OrderSearchModel model);
|
2023-04-06 23:41:09 +04:00
|
|
|
|
}
|
|
|
|
|
}
|