public List<EmploymentStatusModel> GetJobJobEmploymentStatusDetails() { DataTable JobEmploymentStatus = _jobPostProcessor.GetJobJobEmploymentStatusDetail(); List<EmploymentStatusModel> lstJobEmploymentStatus = new List<EmploymentStatusModel>(); if (JobEmploymentStatus.Rows.Count > 0) { lstJobEmploymentStatus = ConvertDatatableToModelList.ConvertDataTable<EmploymentStatusModel>(JobEmploymentStatus); } return lstJobEmploymentStatus; }