예제 #1
0
 public UnitOfWork(ImobiliariaContext context)
 {
     _context         = context;
     PhysicalPerson   = new PhysicalPersonRepository(_context);
     LegalEntity      = new LegalEntityRepository(_context);
     ImovelRepository = new ImovelRepository(_context);
 }
예제 #2
0
 public LegalEntityService(
     ILegalEntityRepository legalEntityRepository,
     ISwiftCredentialsRepository swiftCredentialsRepository,
     ILog log)
 {
     _legalEntityRepository      = legalEntityRepository;
     _swiftCredentialsRepository = swiftCredentialsRepository;
     _log = log;
 }
예제 #3
0
 public SwiftCredentialsService(
     ISwiftCredentialsRepository swiftCredentialsRepository,
     ILegalEntityRepository legalEntityRepository,
     IClientSwiftCredentialsCache clientSwiftCredentialsCache,
     ILog log)
 {
     _swiftCredentialsRepository  = swiftCredentialsRepository;
     _legalEntityRepository       = legalEntityRepository;
     _clientSwiftCredentialsCache = clientSwiftCredentialsCache;
     _log = log;
 }
 public LegalEntityController(ILegalEntityRepository repo)
 {
     this.repo = repo;
 }
 public CreateLegalEntityCommandHandler(ILegalEntityRepository legalEntityRepository, IAccountGateway accountGateway)
 {
     _legalEntityRepository = legalEntityRepository;
     _accountGateway        = accountGateway;
 }
예제 #6
0
 public GetLegalEntityByIdHandler(IValidator <GetLegalEntityByIdQuery> validator, ILegalEntityRepository legalEntityRepository)
 {
     _validator             = validator;
     _legalEntityRepository = legalEntityRepository;
 }
예제 #7
0
 public OrganisationsDataExtractor(IPerformancePlatformRepository performancePlatformRepository, ILegalEntityRepository legalEntityRepository, ILog logger)
 {
     _performancePlatformRepository = performancePlatformRepository;
     _legalEntityRepository         = legalEntityRepository;
     _logger = logger;
 }