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