public ActionResult <IEnumerable <Question> > GetQuestionsByPoll(int PollId) { try { return(Ok(_ps.GetQuestionsByPoll(PollId))); } catch (Exception e) { return(BadRequest(e.Message)); } }