Exemple #1
0
 public ActionResult Delete(Layout layout)
 {
     try
     {
         // TODO: Add delete logic here
         LayoutManager.Delete(layout);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View(layout));
     }
 }