예제 #1
0
        public ActionResult Delete(int id)
        {
            NewsContext newsContext = new NewsContext();

            newsContext.Delete(id);
            return(RedirectToAction("Index"));
        }