PIbd-23-Yunusov-N.N.-CarRep.../CarRepairShop/CarRepairShopContracts/StoragesContracts/IShopStorage.cs
2024-02-13 00:17:40 +04:00

19 lines
687 B
C#

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);
bool SupplyRepair(ShopSearchModel model, IRepairModel repair, int Count);
}
}