public CreateUserViewmodel()
 {
     _eventAggregator = new EventAggregator();
     _currentUser     = new User();
     _api             = new APIAccess();
     CreateCommand    = new RelayCommand(Create, CanCreate);
 }
Exemplo n.º 2
0
        public LoginViewmodel(IAPIAccess api, IEventAggregator eventAggregator)
        {
            _api             = api;
            _eventAggregator = eventAggregator;

            Username = "******";
            Password = "******";

            LoginCommand  = new RelayCommand(Login, CanLogin);
            CreateCommand = new RelayCommand(Create);
        }
Exemplo n.º 3
0
 public IDEController(IAPIAccess aPIAccess)
 {
     this.aPIAccess = aPIAccess;
 }