15 lines
573 B
C#
15 lines
573 B
C#
using DeviceContracts.BindingModels;
|
|
using DeviceContracts.SearchModels;
|
|
using DeviceContracts.ViewModels;
|
|
namespace DeviceContracts.StoragesContracts
|
|
{
|
|
public interface ICabinetStorage
|
|
{
|
|
List<CabinetViewModel> GetFullList();
|
|
List<CabinetViewModel> GetFilteredList(CabinetSearchModel model);
|
|
CabinetViewModel? GetElement(CabinetSearchModel model);
|
|
CabinetViewModel? Insert(CabinetBindingModel model);
|
|
CabinetViewModel? Update(CabinetBindingModel model);
|
|
CabinetViewModel? Delete(CabinetBindingModel model);
|
|
}
|
|
} |