示例#1
0
        public IActionResult OnPost(int TestID)
        {
            apTestData.DeleteTest(TestID);
            apTestData.Commit();

            TempData["Message"] = "Test has successfully been deleted";
            return(RedirectToPage("./TestList"));
        }