public void CreateEmployee(Object sender, EventArgs e)
    {
        EmployeeVO vo = new EmployeeVO();

        vo = this.PopulateEmployeeVOFromEntryFields(vo);
        EmployeeAdminBO bo = new EmployeeAdminBO();

        _emp_vo           = bo.CreateEmployee(vo);
        _picturebox.Image = null;
        _create_employee_botton.Enabled = false;
        this.ResetEntryFields();
        this.DisplayEmployeeInfo();
        this.DisplayEmployeeTraining(bo);
    }
Пример #2
0
    public EmployeeVO CreateEmployee(EmployeeVO employee)
    {
        EmployeeAdminBO bo = new EmployeeAdminBO();

        return(bo.CreateEmployee(employee));
    }