// readonly HttpClient Client; //ToUsdContext Context; public CompanyController( IGlobalQuotesService srvQuotes, ICompanyOverviewService srvOverview, ICompanyBestMatchesService srvBestMatches ) { // Client = PrepareHttpClient(_httpClient); ; SrvQuote = srvQuotes; // = context; SrvOverview = srvOverview; // = context; SrvBestMatches = srvBestMatches; // = context; // Srv.Client = Client;//Important those client would be used for service // Task.Run(srv.TryInit).Wait(); }
public GlobalQuotesController(IGlobalQuotesService service) { _service = service; }