public int CustomerPersonalUpdateEducationdetail([FromBody] JObject Cedetails) { CutomerEducationdetails customerEducation = Cedetails["customerEducation"].ToObject <CutomerEducationdetails>(); UpdatePersonaldetails customerpersonaldetails = Cedetails["customerpersonaldetails"].ToObject <UpdatePersonaldetails>(); customerEducation.Passofyear = customerEducation.Passofyear != 0 ? customerEducation.Passofyear : null; List <CutomerEducationdetails> listEdu = new List <CutomerEducationdetails>(); listEdu.Add(customerEducation); customerpersonaldetails.dtTableValues = Commonclass.returnListDatatable(PersonaldetailsUDTables.createEducationdataTable(), listEdu); return(this.ICustomerpersonalupdate.getEducationdetails_Updatecustomer(customerpersonaldetails)); }