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)));
 }