using FurnitureAssemblyContracts.BindingModels; using FurnitureAssemblyContracts.SearchModels; using FurnitureAssemblyContracts.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FurnitureAssemblyContracts.BusinessLogicsContracts { public interface IShopLogic { List? ReadList(ShopSearchModel? model); ShopViewModel? ReadElement(ShopSearchModel model); bool Create(ShopBindingModel model); bool Update(ShopBindingModel model); bool Delete(ShopBindingModel model); bool AddFurniture(ShopBindingModel model, FurnitureBindingModel furnitureModel, int count); bool AddFurnituresAtShops(FurnitureBindingModel furnitureModel, int count); bool Sell(FurnitureBindingModel furnitureModel, int count); } }