public ActionResult UpdateLocation([FromBody] JObject postbody) { int LocationID = Convert.ToInt32(postbody["LocationID"]); string LocationName = postbody["LocationName"].ToString(); string Action = postbody["Action"].ToString(); var UL = adal.UpdateLocationMaster(LocationID, LocationName, Action); return(Ok(UL)); }