ISEbd-22_CourseWork_School/School/SchoolContracts/StoragesContracts/IRequirementStorage.cs

17 lines
623 B
C#

using SchoolContracts.SearchModels;
using SchoolContracts.BindingModels;
using SchoolContracts.ViewModels;
namespace SchoolContracts.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);
}
}