Esempio n. 1
0
 public UnitOfWork(ImobiliariaContext context)
 {
     _context         = context;
     PhysicalPerson   = new PhysicalPersonRepository(_context);
     LegalEntity      = new LegalEntityRepository(_context);
     ImovelRepository = new ImovelRepository(_context);
 }
Esempio n. 2
0
 public LegalEntityService(
     ILegalEntityRepository legalEntityRepository,
     ISwiftCredentialsRepository swiftCredentialsRepository,
     ILog log)
 {
     _legalEntityRepository      = legalEntityRepository;
     _swiftCredentialsRepository = swiftCredentialsRepository;
     _log = log;
 }
Esempio n. 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;
 }
Esempio n. 6
0
 public GetLegalEntityByIdHandler(IValidator <GetLegalEntityByIdQuery> validator, ILegalEntityRepository legalEntityRepository)
 {
     _validator             = validator;
     _legalEntityRepository = legalEntityRepository;
 }
 public OrganisationsDataExtractor(IPerformancePlatformRepository performancePlatformRepository, ILegalEntityRepository legalEntityRepository, ILog logger)
 {
     _performancePlatformRepository = performancePlatformRepository;
     _legalEntityRepository         = legalEntityRepository;
     _logger = logger;
 }