public GetByProvinceIdAddressUseCase(
     ILogger <GetByProvinceIdAddressUseCase> logger,
     IAddressQueries addressQueries,
     IProvinceQueries provinceQueries)
 {
     _logger          = logger;
     _addressQueries  = addressQueries;
     _provinceQueries = provinceQueries;
 }
示例#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;
 }
        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;
        }
示例#5
0
 public AddressesController(IMediator mediator, IAddressQueries addressQueries)
 {
     this.mediator       = mediator;
     this.addressQueries = addressQueries;
 }