Ejemplo n.º 1
0
 public ActionResult Create(AssetType type)
 {
     try
     {
         AssetTypeManager.AddNewType(type);
         return(RedirectToAction(nameof(Index)));
     }
     catch
     {
         return(View());
     }
 }