Пример #1
0
        private void WorkerAssignJob_DoWork(object sender, DoWorkEventArgs e)
        {
            // Executes when RunWorkerAsync() is called

            List<EmployeeJobAssign> dataReceived = new EmployeeJobAssignData().GetAssignJobList(); //change for other all
            e.Result = dataReceived;


        }
Пример #2
0
        private void WorkerJobStatus_DoWork(object sender, DoWorkEventArgs e)
        {


            List<EmployeeJobAssign> dataReceived = new EmployeeJobAssignData().GetAssignJobListForEmployee(n.employeeId);
            e.Result = dataReceived;


        }