public IndexModel(IConfiguration configuration, ILogger <IndexModel> logger, IHostingEnvironment hostingEnvironment)
 {
     Configuration      = configuration;
     Logger             = logger;
     HostingEnvironment = hostingEnvironment;
     PasHttpClient      = PasUtil.CreatePasHttpClient(Configuration);
 }
Exemple #2
0
 public IndexModel(IConfiguration configuration, ILogger <IndexModel> logger, IWebHostEnvironment webHostEnvironment)
 {
     Configuration      = configuration;
     Logger             = logger;
     WebHostEnvironment = webHostEnvironment;
     PasHttpClient      = PasUtil.CreatePasHttpClient(Configuration);
 }