Exemplo n.º 1
0
 public AccountController(
     IEmployeeRepository employeeRepository,
     IIssuingAuthorityRepository issuingAuthorityRepository,
     ILocalityRepository localityRepository,
     IPhoneNumberOperatorRepository phoneNumberOperatorRepository,
     IIssuingAuthorityLocalityRepository issuingAuthorityLocalityRepository,
     IStreetRepository streetRepository)
 {
     this.employeeRepository                 = employeeRepository;
     this.issuingAuthorityRepository         = issuingAuthorityRepository;
     this.localityRepository                 = localityRepository;
     this.phoneNumberOperatorRepository      = phoneNumberOperatorRepository;
     this.issuingAuthorityLocalityRepository = issuingAuthorityLocalityRepository;
     this.streetRepository = streetRepository;
 }
Exemplo n.º 2
0
 public PassportsController(BankDepositsContext context,
                            IEmployeeRepository employeeRepository,
                            IIssuingAuthorityRepository issuingAuthorityRepository,
                            ILocalityRepository localityRepository,
                            IPhoneNumberOperatorRepository phoneNumberOperatorRepository,
                            IIssuingAuthorityLocalityRepository issuingAuthorityLocalityRepository,
                            IStreetRepository streetRepository)
 {
     _context = context;
     this.employeeRepository                 = employeeRepository;
     this.issuingAuthorityRepository         = issuingAuthorityRepository;
     this.localityRepository                 = localityRepository;
     this.phoneNumberOperatorRepository      = phoneNumberOperatorRepository;
     this.issuingAuthorityLocalityRepository = issuingAuthorityLocalityRepository;
     this.streetRepository = streetRepository;
 }