public BaseController()
        {
            serviceHandler = ServiceFactory.ServiceFactory.GetImplementation();

            sessionHandler        = serviceHandler.GetSessionService();
            authenticationService = serviceHandler.GetAuthenticationService();
            userManagementService = serviceHandler.GetUserManagementService();
        }
Ejemplo n.º 2
0
        public Login(IServiceHandler serviceHandler, User maybeAUser)
        {
            InitializeComponent();

            userToLogin   = maybeAUser;
            userManager   = serviceHandler.GetUserManagementService();
            loggerService = serviceHandler.GetLoggingService();
        }