PIbd-32_Artamonova_T.V._COP_2/UniversityContracts/StoragesContracts/IDirectionStorage.cs

17 lines
617 B
C#

using UniversityContracts.BindingModels;
using UniversityContracts.SearchModels;
using UniversityContracts.ViewModels;
namespace UniversityContracts.StoragesContracts
{
public interface IDirectionStorage
{
List<DirectionViewModel> GetFullList();
List<DirectionViewModel> GetFilteredList(DirectionBindingModel model);
DirectionViewModel? GetElement(DirectionBindingModel model);
DirectionViewModel? Insert(DirectionBindingModel model);
DirectionViewModel? Update(DirectionBindingModel model);
DirectionViewModel? Delete(DirectionBindingModel model);
}
}