コード例 #1
0
        public IActionResult InsertQuestionToDatabase(Question flashToInsert)
        {
            var repo = new QuestionRepo();

            repo.InsertFlash(flashToInsert);
            return(RedirectToAction("ListAll"));
        }