// GET: AssetType/Delete/1 public ActionResult Delete(int id) { var assetType = _assetTypeManager.Get(id); if (assetType == null) { return(HttpNotFound()); } _assetTypeManager.Remove(assetType); return(View("AssetTypeList")); }
// GET: AssetType/Delete/1 public ActionResult Delete(int id) { var assetType = _assetTypeManager.Get(id); if (assetType == null) { return(HttpNotFound()); } _assetTypeManager.Remove(assetType); return(View("AssetTypeList")); }