コード例 #1
0
        public ActionResult DeleteConfirmed(int id)
        {
            var     catalogManager = new CatalogManager();
            Catalog catalog        = catalogManager.GetCatalogById(id);

            catalogManager.DeleteAndSave(catalog);
            return(RedirectToAction("Index"));
        }