示例#1
0
        public ActionResult DeleteTerm(Guid termid, int p)
        {
            Term term = termService.GetByID(termid);

            termService.Delete(term);
            termService.SaveChanges();

            return(RedirectToAction("Term", new { p = p }));
        }