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