Example #1
0
 public RedirectController(Doorsettings doorsettings)
 {
     _doorsettings = doorsettings;
 }
Example #2
0
 public TemplaterService(IWebHostEnvironment env, IHttpContextAccessor httpContext, Doorsettings doorsettings)
 {
     _env          = env;
     _httpContext  = httpContext;
     _doorsettings = doorsettings;
 }
Example #3
0
 public Startup(IConfiguration configuration)
 {
     _doorsettings = configuration.GetSection("Door").Get <Doorsettings>();
 }