Ejemplo n.º 1
0
        private void configureInventoryAnalytics(IServiceCollection services, IConfiguration configuration)
        {
            string baseURL = configuration.GetValue <string>("InventoryAnalysisService:BaseURL");

            InventoryAnalyisServiceProxy ia = new InventoryAnalyisServiceProxy(baseURL);

            services.AddSingleton <InventoryAnalyisServiceProxy>(ia);
        }
Ejemplo n.º 2
0
 public ApiController(InventoryAnalyisServiceProxy iaSvcProxy)
 {
     this.iaSvcProxy = iaSvcProxy;
 }