PIbd-23_Elatomtsev_L.K._SUB.../DeviceContracts/StoragesContracts/IDeviceStorage.cs
2024-05-13 09:00:08 +04:00

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);
}
}