public AsuraMetaWeblogService(AsuraContext dbContext)
 {
     _dbContext = dbContext;
 }
示例#2
0
 public HomeController(IOptions <SiteConfig> option, AsuraContext context)
 {
     Config = option.Value;
     db     = context;
 }