public int CustomerAstrodetailsUpdatedetails([FromBody] JObject CgetDetails) { TeditAstro editAstro = CgetDetails["GetDetails"].ToObject <TeditAstro>(); UpdatePersonaldetails customerpersonaldetails = CgetDetails["customerpersonaldetails"].ToObject <UpdatePersonaldetails>(); List <TeditAstro> lstAstro = new List <TeditAstro>(); lstAstro.Add(editAstro); customerpersonaldetails.dtTableValues = Commonclass.returnListDatatable(PersonaldetailsUDTables.dtcreateAstrodetail(), lstAstro); return(this.ICustomerpersonalupdate.CustomerAstrodetailsUpdatedetails(customerpersonaldetails)); }