PIbd-23-Yunusov-N.N.-CarRep.../CarRepairShop/CarRepairShopContracts/StoragesContracts/IShopStorage.cs

19 lines
669 B
C#
Raw 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.StoragesContracts
{
public interface IShopStorage
{
List<ShopViewModel> GetFullList();
List<ShopViewModel> GetFilteredList(ShopSearchModel model);
ShopViewModel? GetElement(ShopSearchModel model);
ShopViewModel? Insert(ShopBindingModel model);
ShopViewModel? Update(ShopBindingModel model);
ShopViewModel? Delete(ShopBindingModel model);
public bool SellRepairs(IRepairModel model, int count);
}
}