public IHttpActionResult CreateCategory() { var httpBody = ControllerContext.Request.Content.ReadAsStringAsync().Result; var dictionary = JsonConvert.DeserializeObject <Dictionary <string, object> >(httpBody); return(Ok(service.CreateCategory(dictionary))); }