CourseWork_University/University/UniversityContracts/StoragesContracts/IRequirementStorage.cs

17 lines
639 B
C#

using UniversityContracts.BindingModels;
using UniversityContracts.SearchModels;
using UniversityContracts.ViewModels;
namespace UniversityContracts.StoragesContracts
{
public interface IRequirementStorage
{
List<RequirementViewModel> GetFullList();
List<RequirementViewModel> GetFilteredList(RequirementSearchModel model);
RequirementViewModel? GetElement(RequirementSearchModel model);
RequirementViewModel? Insert(RequirementBindingModel model);
RequirementViewModel? Update(RequirementBindingModel model);
RequirementViewModel? Delete(RequirementBindingModel model);
}
}