public JsonResult AddNewAsset(Asset asset) { Asset assetAdded = null; try { assetAdded = assetService.AddAsset(asset); } catch (Exception) { } return(Json(assetAdded, JsonRequestBehavior.AllowGet)); }