Exemplo n.º 1
0
        public RegistrationFormViewModel()
        {
            ClickCloseCommand = new RelayCommand(arg => ClickCloseMethod());

            var servicesFactory = new ServicesFactory();

            _userService = servicesFactory.GetUserService();
        }
Exemplo n.º 2
0
        public AutorizationFormViewModel()
        {
            ClickSignInCommand   = new RelayCommand(arg => ClickSignInMethod());
            ClickRegisterCommand = new RelayCommand(arg => ClickRegisterMethod());

            var servicesFactory = new ServicesFactory();

            _userService = servicesFactory.GetUserService();
        }