public async Task <IHttpActionResult> EditEmployer([FromBody] JObject dictionaryAsJson) { Dictionary <string, string> employer = JsonConvert.DeserializeObject <Dictionary <string, string> >(dictionaryAsJson.ToString()); var cat = await objEmployer.EditEmployer(employer); return(Ok(cat)); }