Esempio n. 1
0
        public JsonResult AddNewAsset(Asset asset)
        {
            Asset assetAdded = null;

            try
            {
                assetAdded = assetService.AddAsset(asset);
            }
            catch (Exception)
            {
            }
            return(Json(assetAdded, JsonRequestBehavior.AllowGet));
        }