CourseWork_KPO/CandidateReviewContracts/StoragesContracts/IAssessmentStorage.cs

17 lines
647 B
C#

using CandidateReviewContracts.BindingModels;
using CandidateReviewContracts.SearchModels;
using CandidateReviewContracts.ViewModels;
namespace CandidateReviewContracts.StoragesContracts
{
public interface IAssessmentStorage
{
List<AssessmentViewModel> GetFullList();
List<AssessmentViewModel> GetFilteredList(AssessmentSearchModel model);
AssessmentViewModel? GetElement(AssessmentSearchModel model);
AssessmentViewModel? Insert(AssessmentBindingModel model);
AssessmentViewModel? Update(AssessmentBindingModel model);
AssessmentViewModel? Delete(AssessmentBindingModel model);
}
}