using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TravelCompanyContracts.BindingModels; using TravelCompanyContracts.SearchModels; using TravelCompanyContracts.ViewModels; using TravelCompanyDataModels.Models; namespace TravelCompanyContracts.BusinessLogicContracts { public interface IShopLogic { List? ReadList(ShopSearchModel? model); ShopViewModel? ReadElement(ShopSearchModel model); bool Create(ShopBindingModel model); bool Update(ShopBindingModel model); bool Delete(ShopBindingModel model); bool MakeDelivery(ShopSearchModel shopModel, ITravelModel travel, int count); bool MakeSale(ITravelModel model, int count); } }