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.StoragesContracts
|
2024-02-05 16:26:35 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IComponentStorage
|
|
|
|
|
{
|
|
|
|
|
List<ComponentViewModel> GetFullList();
|
|
|
|
|
List<ComponentViewModel> GetFilteredList(ComponentSearchModel model);
|
|
|
|
|
ComponentViewModel? GetElement(ComponentSearchModel model);
|
|
|
|
|
ComponentViewModel? Insert(ComponentBindingModel model);
|
|
|
|
|
ComponentViewModel? Update(ComponentBindingModel model);
|
|
|
|
|
ComponentViewModel? Delete(ComponentBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|