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