public int CustomerReferencedetailsUpdatedetails([FromBody] JObject CgetDetails) { TeditReference editReference = CgetDetails["GetDetails"].ToObject <TeditReference>(); UpdatePersonaldetails customerpersonaldetails = CgetDetails["customerpersonaldetails"].ToObject <UpdatePersonaldetails>(); List <TeditReference> lstRef = new List <TeditReference>(); lstRef.Add(editReference); customerpersonaldetails.dtTableValues = Commonclass.returnListDatatable(PersonaldetailsUDTables.dtcreateDatatableReferenceDetail(), lstRef); return(this.ICustomerpersonalupdate.CustomerReferencedetailsUpdatedetails(customerpersonaldetails)); }