using ComputersShopContracts.BindingModels; using ComputersShopContracts.SearchModels; using ComputersShopContracts.ViewModels; using ComputersShopDataModels.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ComputersShopContracts.BusinessLogicsContracts { public interface IShopLogic { ShopViewModel? ReadElement(ShopSearchModel model); List? ReadList(ShopSearchModel? model); bool Create(ShopBindingModel model); bool Update(ShopBindingModel model); bool Delete(ShopBindingModel model); bool SupplyComputers(ShopSearchModel model, IComputerModel computer, int count); bool MakeSell(IComputerModel model, int count); } }