コード例 #1
0
        public ActionResult DeleteAll()
        {
            _newsletterService.DeleteAll();

            TempData["notification"] = "All newsletters deleted";

            return(RedirectToAction("list"));
        }