public GetByProvinceIdAddressUseCase(
     ILogger <GetByProvinceIdAddressUseCase> logger,
     IAddressQueries addressQueries,
     IProvinceQueries provinceQueries)
 {
     _logger          = logger;
     _addressQueries  = addressQueries;
     _provinceQueries = provinceQueries;
 }
Exemplo n.º 2
0
 public GetByEmailAccountUseCase(
     ILogger <GetByEmailAccountUseCase> logger,
     IAccountQueries accountQueries,
     IAddressQueries addressQueries)
 {
     _logger         = logger;
     _accountQueries = accountQueries;
     _addressQueries = addressQueries;
 }
 public RegisterAccountUseCase(
     ILogger <RegisterAccountUseCase> logger,
     IAccountQueries accountQueries,
     IAccountCommand accountCommand,
     IAddressQueries addressQueries)
 {
     _logger         = logger;
     _accountQueries = accountQueries;
     _accountCommand = accountCommand;
     _addressQueries = addressQueries;
 }
Exemplo n.º 4
0
        public InsertCompanyCommandHandler(ICompanyRepository companyRepository,
                                           ICompanyQueries companyQueries,
                                           IAddressRepository addressRepository,
                                           IAddressQueries addressQueries,
                                           IContactRepository contactRepository,
                                           IContactQueries contactQueries,
                                           IStorageFileProvider storageFile,
                                           IScheduleActionRepository scheduleActionRepository)
        {
            this.companyRepository = companyRepository;
            this.companyQueries    = companyQueries;

            this.addressRepository = addressRepository;
            this.addressQueries    = addressQueries;

            this.contactRepository = contactRepository;
            this.contactQueries    = contactQueries;

            this.storageFile = storageFile;
            this.scheduleActionRepository = scheduleActionRepository;
        }
Exemplo n.º 5
0
 public AddressesController(IMediator mediator, IAddressQueries addressQueries)
 {
     this.mediator       = mediator;
     this.addressQueries = addressQueries;
 }