コード例 #1
0
        public JsonResult DeleteQuestions([FromBody] SaveTestModel saveTestModel)
        {
            string msg = testService.DeleteQuestions(saveTestModel.Ids);


            return(Json(msg));
        }
コード例 #2
0
        public JsonResult SaveTest([FromBody] SaveTestModel saveTestModel)
        {
            string msg = testService.SaveTest(saveTestModel, userManager.GetUserId(User));


            return(Json(msg));
        }