public void UpdateTraining(Object Sender, EventArgs e)
    {
        EmployeeAdminBO bo = new EmployeeAdminBO();

        bo.UpdateTraining(this.PopulateTrainingVOFromEntryFields(_training_list[_next_training]));
        _training_list = bo.GetTrainingForEmployee(_emp_vo.EmployeeID);
        this.DisplayEmployeeTraining(bo);
    }
    private void DisplayEmployeeTraining(EmployeeAdminBO bo)
    {
        _training_list         = bo.GetTrainingForEmployee(_emp_vo.EmployeeID);
        _training_textbox.Text = String.Empty;
        StringBuilder sb = new StringBuilder();

        foreach (TrainingVO t in _training_list)
        {
            sb.Append(t.ToString() + "\r\n");
        }
        _training_textbox.Text = sb.ToString();
    }
예제 #3
0
    public List <TrainingVO> GetTrainingForEmployee(Guid employeeID)
    {
        EmployeeAdminBO bo = new EmployeeAdminBO();

        return(bo.GetTrainingForEmployee(employeeID));
    }