18 lines
632 B
C#
18 lines
632 B
C#
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);
|
|
}
|
|
|
|
}
|