Пример #1
0
 public ViewLoginViewModel(IEventAggregator eventAggregator, IRegionManager regionManager, IAuthenticationService authService, ILostService lostService, IInstitutionService institutionService)
 {
     this.Institution             = new Institution();
     LoginCommand                 = new DelegateCommand(LoginCommandExecute, LoginCommandCanExecute);
     Institution.PropertyChanged += Institution_PropertyChanged;
     this.eventAggregator         = eventAggregator;
     this.regionManager           = regionManager;
     this.authService             = authService;
     this.lostService             = lostService;
     this.institutionService      = institutionService;
 }
Пример #2
0
 public LostController(ILostService lostService, IRedService redService)
 {
     LostService = lostService;
     RedService = redService;
 }