PIbd21_Makarov_DV_FlowerShop/FlowerShop/FlowerShopContracts/BusinessLogicsContracts/IComponentLogic.cs

17 lines
523 B
C#
Raw Normal View History

2024-02-24 09:40:58 +04:00
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);
}
}