15 lines
561 B
C#
15 lines
561 B
C#
using DeviceContracts.BindingModels;
|
|
using DeviceContracts.SearchModels;
|
|
using DeviceContracts.ViewModels;
|
|
namespace DeviceContracts.StoragesContracts
|
|
{
|
|
public interface IDeviceStorage
|
|
{
|
|
List<DeviceViewModel> GetFullList();
|
|
List<DeviceViewModel> GetFilteredList(DeviceSearchModel model);
|
|
DeviceViewModel? GetElement(DeviceSearchModel model);
|
|
DeviceViewModel? Insert(DeviceBindingModel model);
|
|
DeviceViewModel? Update(DeviceBindingModel model);
|
|
DeviceViewModel? Delete(DeviceBindingModel model);
|
|
}
|
|
} |