15 lines
573 B
C#
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);
|
|
}
|
|
} |