Beispiel #1
0
        public HealthyInformationController()
        {
            _healthyEntities = new HealthyEntities();
            _passwordHasher  = new PasswordHasher <User>();

            _accountRepository            = new AccountRepository(_healthyEntities);
            _accountService               = new AccountService(_passwordHasher, _accountRepository);
            _healthyInformationRepository = new HealthyInformationRepository(_healthyEntities);
        }
Beispiel #2
0
 public ChartHub()
 {
     _healthyEntities = new HealthyEntities();
     _healthyInformationRepository = new HealthyInformationRepository(_healthyEntities);
 }