16 lines
498 B
C#
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);
|
|
}
|
|
}
|