public LoginData UserAuthentication(String user, String pass)
        {
            LoginData           loginData = new LoginData();
            LoginAuthentication login     = new LoginAuthentication();

            if (login.CredentialsAuthentication(user, pass).Equals(validationResult.Success))
            {
                loginData.TipoUsuario = login.GetUserType(user, pass);
                loginData.Result      = validationResult.Success;
            }
            else
            {
                loginData.Result = validationResult.UserOrPasswordIncorrect;
            }
            return(loginData);
        }
        public String GetUserType(String user, String pass)
        {
            LoginAuthentication login = new LoginAuthentication();

            return(login.GetUserType(user, pass));
        }