public async Task <ActionResult <IEnumerable <Question> > > Get() { var questions = await QuestionRepo.GetQuestions(); if (questions == null) { return(NotFound()); } return(Ok(questions)); }
public async Task <ActionResult <IEnumerable <Question> > > Get() { var questions = await QuestionRepo.GetQuestions(); if (questions == null) { return(NotFound()); } return(Ok(questions)); }