public void Update([FromBody] dynamic data) { var jsonString = JsonConvert.SerializeObject(data); var dataUpdate = JsonConvert.DeserializeObject <ClassDataModel>(jsonString); ClassDataManager.Update(dataUpdate, SessionVariables.RequestProfile); }