Пример #1
0
 /// <summary>
 /// Constructor with service dependencies injected
 /// </summary>
 /// <param name="authorityRepository">Authority Service</param>
 /// <param name="establishmentRepository">Establishment Service</param>
 public HomeController(IAuthorityRepository authorityRepository, IEstablishmentRepository establishmentRepository, IRatingKeyRepository ratingKeyRepository)
 {
     AuthorityRepository = authorityRepository;
     EstablishmentRepository = establishmentRepository;
     RatingKeyRepository = ratingKeyRepository;
 }
Пример #2
0
 /// <summary>
 /// Constructor with service dependencies injected
 /// </summary>
 /// <param name="authorityRepository">Authority Service</param>
 /// <param name="establishmentRepository">Establishment Service</param>
 public HomeController(IAuthorityRepository authorityRepository, IEstablishmentRepository establishmentRepository, IRatingKeyRepository ratingKeyRepository)
 {
     AuthorityRepository     = authorityRepository;
     EstablishmentRepository = establishmentRepository;
     RatingKeyRepository     = ratingKeyRepository;
 }