Example #1
0
 public AlphaVantageController(CreateInvestimentHandler createInvestimentHandler,
                               IInvestimentRepository investimentRepository,
                               IHttpClientFactory client)
 {
     _createInvestimentHandler = createInvestimentHandler;
     _investimentRepository    = investimentRepository;
     _client = client;
 }
 public CreateInvestimentHandler(IInvestimentRepository investimentRepository,
                                 IHttpContextAccessor httpContextAccessor)
 {
     _investimentRepository = investimentRepository;
     _httpContextAccessor   = httpContextAccessor;
 }
 public InvestimentsController(CreateInvestimentHandler createInvestimentHandler,
                               IInvestimentRepository investimentRepository)
 {
     _createInvestimentHandler = createInvestimentHandler;
     _investimentRepository    = investimentRepository;
 }