public CompanyController() { HttpWebClientFactory clientFactory = new HttpWebClientFactory(); clientFactory.SetBaseAddress("http://localhost:64007/Company/"); _client = clientFactory.GetClient(); }
public ProductGroupController() { HttpWebClientFactory clientFactory = new HttpWebClientFactory(); clientFactory.SetBaseAddress("http://localhost:64007/ProductGroup/"); _client = clientFactory.GetClient(); }