public IActionResult AddExamQuestion(int type, int examid, string stem, [FromBody] object[] parameters) { try { ExamQuestion.QuestionType questionType = (ExamQuestion.QuestionType)type; return(Ok(questionBll.AddExamQuestion(questionType, examid, stem, parameters))); } catch (Exception e) { return(NotFound(e.Message)); } }