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

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