PIbd-23_Polevoy_S.V._Flower.../FlowerShop/FlowerShopContracts/BusinessLogicsContracts/IShopLogic.cs

18 lines
603 B
C#
Raw Normal View History

using FlowerShopContracts.BindingModels;
using FlowerShopContracts.SearchModels;
using FlowerShopContracts.ViewModels;
using FlowerShopDataModels.Models;
namespace FlowerShopContracts.BusinessLogicsContracts
{
public interface IShopLogic
{
ShopViewModel? ReadElement(ShopSearchModel model);
List<ShopViewModel>? ReadList(ShopSearchModel? model);
bool Create(ShopBindingModel model);
bool Update(ShopBindingModel model);
bool Delete(ShopBindingModel model);
bool SupplyBouquets(ShopSearchModel model, IBouquetModel bouquet, int count);
}
}