PIbd21_Makarov_DV_FlowerShop/FlowerShop/FlowerShopContracts/BusinessLogicsContracts/IFlowerLogic.cs

16 lines
498 B
C#

using FlowerShopContracts.BindingModels;
using FlowerShopContracts.SearchModels;
using FlowerShopContracts.ViewModels;
namespace FlowerShopContracts.BusinessLogicsContracts
{
public interface IFlowerLogic
{
List<FlowerViewModel>? ReadList(FlowerSearchModel? model);
FlowerViewModel? ReadElement(FlowerSearchModel model);
bool Create(FlowerBindingModel model);
bool Update(FlowerBindingModel model);
bool Delete(FlowerBindingModel model);
}
}