public IActionResult GetAll([FromRoute] int assignmentId)
 {
     return(this.Ok(() =>
                    _QuestionnaireRepo.GetAllQuestionnaires(assignmentId).Result, _Logger));
 }
예제 #2
0
 public async Task <List <QuestionnaireVM> > GetAllQuestionnaires()
 {
     return(await _questionnaireRepository.GetAllQuestionnaires());
 }
예제 #3
0
 public IActionResult GetAll([FromRoute] int assignmentId)
 {
     return(this.Ok(() => JArray.FromObject(_QuestionnaireRepo.GetAllQuestionnaires(assignmentId).Result)));
 }