示例#1
0
 public PosicaoConsolidadaService(ITesouroDiretoService tesouroDiretoService, IRendaFixaService rendaFixaService, IFundoService fundoService,
                                  ICacheService cacheService)
 {
     _tesouroDiretoService = tesouroDiretoService;
     _rendaFixaService     = rendaFixaService;
     _fundoService         = fundoService;
     _cacheService         = cacheService;
 }
示例#2
0
 public InvestimentoService(ITesouroDiretoService tesouroDiretoService,
                            IRendaFixaService rendaFixaService,
                            IFundoService fundoService,
                            ILogger <InvestimentoService> logger)
 {
     _tesouroDiretoService = tesouroDiretoService;
     _rendaFixaService     = rendaFixaService;
     _fundoService         = fundoService;
     _logger = logger;
 }
        public FundoControllerTest()
        {
            fundoRepository = new FundoRepository(Context);
            unitOfWork      = new UnitOfWork(Context);
            mapper          = AutoMapperConfig.RegisterMappings().CreateMapper();
            fundoService    = new FundoService(fundoRepository, unitOfWork, mapper);
            fundoController = new FundoController(fundoService);

            CarregarFundos();
        }
示例#4
0
 public InvestimentosController(IInvestimentoService service,
                                ITesouroDiretoService tesouroService,
                                IRendaFixaService rendaFixaService,
                                IFundoService fundoService,
                                ILogger <InvestimentosController> logger)
 {
     _service          = service;
     _tesouroService   = tesouroService;
     _rendaFixaService = rendaFixaService;
     _fundoService     = fundoService;
     _logger           = logger;
 }
示例#5
0
 public MovimentoController(IMovimentoService movimentoService,
                            IFundoService fundoService)
 {
     this.movimentoService = movimentoService;
     this.fundoService     = fundoService;
 }
示例#6
0
 public FundoController(IFundoService fundoService)
 {
     _fundoService = fundoService;
 }