public PosicaoConsolidadaService(ITesouroDiretoService tesouroDiretoService, IRendaFixaService rendaFixaService, IFundoService fundoService, ICacheService cacheService) { _tesouroDiretoService = tesouroDiretoService; _rendaFixaService = rendaFixaService; _fundoService = fundoService; _cacheService = cacheService; }
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(); }
public InvestimentosController(IInvestimentoService service, ITesouroDiretoService tesouroService, IRendaFixaService rendaFixaService, IFundoService fundoService, ILogger <InvestimentosController> logger) { _service = service; _tesouroService = tesouroService; _rendaFixaService = rendaFixaService; _fundoService = fundoService; _logger = logger; }
public MovimentoController(IMovimentoService movimentoService, IFundoService fundoService) { this.movimentoService = movimentoService; this.fundoService = fundoService; }
public FundoController(IFundoService fundoService) { _fundoService = fundoService; }