예제 #1
0
 public Task<int> AddExamQuestionForUpdateAsync(IUnitOfWork unitOfWork, IExamQuestion examQuestion)
 {
     return unitOfWork.AddForUpdateAsync<ExamQuestionEntity>(Mapper.Map<ExamQuestionEntity>(examQuestion));
 }
 public Task<int> AddForUpdateAsync(IUnitOfWork unitOfWork, IQuestion question)
 {
     return unitOfWork.AddForUpdateAsync<QuestionEntity>(Mapper.Map<QuestionEntity>(question));
 }
 public Task<int> AddForUpdateAsync(IUnitOfWork unitOfWork, IAnswerChoice answerChoice)
 {
     return unitOfWork.AddForUpdateAsync<AnswerChoiceEntity>(Mapper.Map<AnswerChoiceEntity>(answerChoice));
 }