PIbd-23-Yunusov-N.N.-CarRep.../CarRepairShop/CarRepairShopContracts/BusinessLogicsContracts/IShopLogic.cs

19 lines
667 B
C#
Raw Permalink Normal View History

2024-03-14 19:28:27 +04:00
using CarRepairShopContracts.BindingModels;
using CarRepairShopContracts.SearchModels;
using CarRepairShopContracts.ViewModels;
using CarRepairShopDataModels.Models;
namespace CarRepairShopContracts.BusinessLogicsContracts
{
public interface IShopLogic
{
List<ShopViewModel>? ReadList(ShopSearchModel? model);
ShopViewModel? ReadElement(ShopSearchModel model);
bool Create(ShopBindingModel model);
bool Update(ShopBindingModel model);
bool Delete(ShopBindingModel model);
bool MakeSupply(ShopSearchModel model, IRepairModel repair, int count);
bool MakeSell(IRepairModel repair, int count);
}
}