public List <slideshowNew> ShowDataForEmployeeGeneral([FromBody] JObject CgetDetails) { TGeneralSearch generalsearch = CgetDetails["GetDetails"].ToObject <TGeneralSearch>(); EmployeeSearch employeesearch = CgetDetails["customerpersonaldetails"].ToObject <EmployeeSearch>(); List <TGeneralSearch> lstGeneral = new List <TGeneralSearch>(); lstGeneral.Add(generalsearch); employeesearch.dtTableValues = Commonclass.returnListDatatable(PersonaldetailsUDTables.dtcreateDatatableShowDataForEmployeeGeneral(), lstGeneral); return(this.ICustomerSearch.ShowDataForEmployeeGeneral(employeesearch)); }