public CreateUserViewmodel() { _eventAggregator = new EventAggregator(); _currentUser = new User(); _api = new APIAccess(); CreateCommand = new RelayCommand(Create, CanCreate); }
public LoginViewmodel(IAPIAccess api, IEventAggregator eventAggregator) { _api = api; _eventAggregator = eventAggregator; Username = "******"; Password = "******"; LoginCommand = new RelayCommand(Login, CanLogin); CreateCommand = new RelayCommand(Create); }
public IDEController(IAPIAccess aPIAccess) { this.aPIAccess = aPIAccess; }