public Task<int> AddExamQuestionForInsert(IUnitOfWork unitOfWork, IExamQuestion examQuestion) { return unitOfWork.AddForInsertAsync<ExamQuestionEntity>(Mapper.Map<ExamQuestionEntity>(examQuestion)); }
public Task<int> AddForInsertAsync(IUnitOfWork unitOfWork, IQuestion question) { return unitOfWork.AddForInsertAsync<QuestionEntity>(Mapper.Map<QuestionEntity>(question)); }
public Task<int> AddForInsertAsync(IUnitOfWork unitOfWork, IAnswerChoice answerChoice) { return unitOfWork.AddForInsertAsync<AnswerChoiceEntity>(Mapper.Map<AnswerChoiceEntity>(answerChoice)); }