public JsonResult AddInventoryIssue(InventoryIssue _InventoryIssue) { InventoriesController obj = new InventoriesController(); var response = obj.PostInventoryIssue(_InventoryIssue); return(Json(((InventoryIssue)(((System.Net.Http.ObjectContent)(response.Content)).Value)).IIID, JsonRequestBehavior.AllowGet)); }