PIbd-23_Elatomtsev_L.K._SUB.../DeviceContracts/StoragesContracts/IServiceStorage.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 IServiceStorage
{
List<ServiceViewModel> GetFullList();
List<ServiceViewModel> GetFilteredList(ServiceSearchModel model);
ServiceViewModel? GetElement(ServiceSearchModel model);
ServiceViewModel? Insert(ServiceBindingModel model);
ServiceViewModel? Update(ServiceBindingModel model);
ServiceViewModel? Delete(ServiceBindingModel model);
}
}