17 lines
523 B
C#
17 lines
523 B
C#
using FlowerShopContracts.BindingModels;
|
|
using FlowerShopContracts.SearchModels;
|
|
using FlowerShopContracts.ViewModels;
|
|
|
|
namespace FlowerShopContracts.BusinessLogicsContracts
|
|
{
|
|
public interface IComponentLogic
|
|
{
|
|
List<ComponentViewModel>? ReadList(ComponentSearchModel? model);
|
|
ComponentViewModel? ReadElement(ComponentSearchModel model);
|
|
bool Create(ComponentBindingModel model);
|
|
bool Update(ComponentBindingModel model);
|
|
bool Delete(ComponentBindingModel model);
|
|
|
|
}
|
|
}
|