示例#1
0
 public ChemicalsController(PyroDBContext context, IWebHostEnvironment env)
 {
     _db  = context;
     _env = env;
 }
示例#2
0
 public UsersController(PyroDBContext context, IOptions <AppConfig> config)
 {
     _db     = context;
     _config = config.Value;
 }