protected void BCStore_RefreshData(object sender, StoreReadDataEventArgs e) { //GEtting the filter from the page string filter = string.Empty; int totalCount = 1; //Fetching the corresponding list //in this test will take a list of News EmployeeBackgroundCheckListRequest request = new EmployeeBackgroundCheckListRequest(); request.EmployeeId = CurrentEmployee.Text; ListResponse <EmployeeBackgroundCheck> resp = _employeeService.ChildGetAll <EmployeeBackgroundCheck>(request); if (!resp.Success) { Common.errorMessage(resp); } this.BCStore.DataSource = resp.Items; this.BCStore.DataBind(); }
private List <EmployeeBackgroundCheck> GetSecurityCheck() { EmployeeBackgroundCheckListRequest request = new EmployeeBackgroundCheckListRequest(); request.EmployeeId = CurrentEmployee.Text; ListResponse <EmployeeBackgroundCheck> currencies = _employeeService.ChildGetAll <EmployeeBackgroundCheck>(request); return(currencies.Items); }