2024-05-01 21:35:57 +04:00
|
|
|
|
using MotorPlantContracts.BindingModels;
|
|
|
|
|
using MotorPlantContracts.SearchModels;
|
|
|
|
|
using MotorPlantContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace MotorPlantContracts.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);
|
2024-05-05 21:43:24 +04:00
|
|
|
|
bool Sale(SupplySearchModel model);
|
|
|
|
|
bool RestockingShops(SupplyBindingModel model);
|
|
|
|
|
}
|
2024-05-01 21:35:57 +04:00
|
|
|
|
}
|