Ejemplo n.º 1
0
        public AccountController()
        {
            _healthyEntities = new HealthyEntities();
            _passwordHasher  = new PasswordHasher <User>();

            _accountRepository = new AccountRepository(_healthyEntities);
            _accountService    = new AccountService(_passwordHasher, _accountRepository);
        }
Ejemplo n.º 2
0
 public UserRelationshipRepository(HealthyEntities healthyEntities)
 {
     _healthyEntities = healthyEntities;
 }
Ejemplo n.º 3
0
 public AccountRepository(HealthyEntities healthyEntities)
 {
     _healthyEntities = healthyEntities;
 }
Ejemplo n.º 4
0
 public UserRelationshipController()
 {
     _healthyEntities            = new HealthyEntities();
     _userRelationshipRepository = new UserRelationshipRepository(_healthyEntities);
 }
Ejemplo n.º 5
0
 public HealthyInformationRepository(HealthyEntities healthyEntities)
 {
     _healthyEntities = healthyEntities;
 }
Ejemplo n.º 6
0
 public ChartHub()
 {
     _healthyEntities = new HealthyEntities();
     _healthyInformationRepository = new HealthyInformationRepository(_healthyEntities);
 }