Exemple #1
0
 public JsonResult AddAnswers(int id, List <NHiberanteDal.DTO.TestQuestionAnswerDto> answers)
 {
     if (_testService.AddAnswers(id, answers.ToArray()))
     {
         return(Json(new ResponseMessage(true)));
     }
     else
     {
         return(Json(new ResponseMessage(false)));
     }
 }