コード例 #1
0
        public IActionResult CreateQuestion(int testId)
        {
            int questionId = repository.CreateTestQuestion(testId);

            return(RedirectToAction(nameof(EditQuestion), new { testId = testId, questionId = questionId }));
        }