public void AddEmployee()
        {
            string error = EnableValidationAndGetError();

            if (error != null)
            {
                OnValidationFailed(error);
                return;
            }
            EmployeesModelHelper.AddNewEmployee(FirstName, LastName, Email, Password, Birthday.Value, Gender);
            OnValidationSucceeded();
        }
Ejemplo n.º 2
0
 public void AddEmployee()
 {
     EmployeesModelHelper.AddNewEmployee(FirstName, LastName, Email, Password, Birthday.Value, Gender);
 }