Пример #1
0
        /* Creating a new problem requires 3 methods due to AJAX and model binding being weird when uploading a file, with data and a list of data */

        public ActionResult NewProblem(TeacherNewProblemViewModel problem)
        {
            return(Json(_teacherService.CreateNewProblem(problem)));
        }