public ProductRepo() { _httpClient = new HttpClient(); _storeClient = new BazzasBazaar.StoreClient(); _serviceUris = new Dictionary <string, Uri> { { "DodgyDealers", new Uri("http://dodgydealers.azurewebsites.net/api/product") }, { "UnderCutters", new Uri("http://undercutters.azurewebsites.net/api/product") } }; }
public OrdersController(HttpClient client, BazzasBazaar.IStore bazzasStore) { _client = client; _bazzasStore = bazzasStore; }
public OrdersController() { _client = new HttpClient(); _bazzasStore = new BazzasBazaar.StoreClient(); }
public ProductRepo(HttpClient httpClient, BazzasBazaar.IStore storeClient, Dictionary <string, Uri> serviceUris) { _httpClient = httpClient; _storeClient = storeClient; _serviceUris = serviceUris; }
public ProductRepo(BazzasBazaar.IStore storeClient) { _storeClient = storeClient; }