2024-02-25 18:57:38 +04:00
|
|
|
|
using SecuritySystemContracts.BindingModels;
|
|
|
|
|
using SecuritySystemContracts.SearchModels;
|
|
|
|
|
using SecuritySystemContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace SecuritySystemContracts.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
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);
|
|
|
|
|
}
|
2024-02-25 21:33:22 +04:00
|
|
|
|
|
2024-02-25 18:57:38 +04:00
|
|
|
|
}
|