2024-02-05 16:40:47 +04:00
|
|
|
|
using SushiBarContracts.BindingModels;
|
|
|
|
|
using SushiBarContracts.SearchModels;
|
|
|
|
|
using SushiBarContracts.ViewModels;
|
2024-02-05 16:26:35 +04:00
|
|
|
|
|
2024-02-05 16:40:47 +04:00
|
|
|
|
namespace SushiBarContracts.BusinessLogicsContracts
|
2024-02-05 16:26:35 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IComponentLogic
|
|
|
|
|
{
|
|
|
|
|
List<ComponentViewModel>? ReadList(ComponentSearchModel? model);
|
|
|
|
|
ComponentViewModel? ReadElement(ComponentSearchModel model);
|
|
|
|
|
bool Create(ComponentBindingModel model);
|
|
|
|
|
bool Update(ComponentBindingModel model);
|
|
|
|
|
bool Delete(ComponentBindingModel model);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|