示例#1
0
 public static void Initialize(RegistrationsDbContext context)
 {
     context.Database.EnsureCreated();
 }
示例#2
0
 public HomeController(ILogger <HomeController> logger, RegistrationsDbContext context)
 {
     _logger  = logger;
     _context = context;
 }