示例#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;
 }