public int CustomerPhysicalAttributesUpdatedetails([FromBody] JObject CgetDetails) { TCustomerPhysicalAttributes TCustomer = CgetDetails["GetDetails"].ToObject <TCustomerPhysicalAttributes>(); UpdatePersonaldetails customerpersonaldetails = CgetDetails["customerpersonaldetails"].ToObject <UpdatePersonaldetails>(); List <TCustomerPhysicalAttributes> lstProf = new List <TCustomerPhysicalAttributes>(); lstProf.Add(TCustomer); customerpersonaldetails.dtTableValues = Commonclass.returnListDatatable(PersonaldetailsUDTables.dtcreaPhysicalAttributedetails(), lstProf); return(this.ICustomerpersonalupdate.CustomerPhysicalAttributesUpdatedetails(customerpersonaldetails)); }