public int CustomerFathersBrotherUpdatedetails([FromBody] JObject CgetDetails) { TeditFB editFB = CgetDetails["GetDetails"].ToObject <TeditFB>(); UpdatePersonaldetails customerpersonaldetails = CgetDetails["customerpersonaldetails"].ToObject <UpdatePersonaldetails>(); List <TeditFB> lsteditFB = new List <TeditFB>(); lsteditFB.Add(editFB); customerpersonaldetails.dtTableValues = Commonclass.returnListDatatable(PersonaldetailsUDTables.dtcreateFathersBrotherDetail(), lsteditFB); return(this.ICustomerpersonalupdate.CustomerFathersBrotherUpdatedetails(customerpersonaldetails)); }