public static void Initialize(IServiceProvider serviceProvider) { using (MamaWashContext context = new MamaWashContext(serviceProvider.GetRequiredService <DbContextOptions <MamaWashContext> >())) { } }
public CreateModel(MamaWash.Models.MamaWashContext context) { _context = context; }
public IndexModel(MamaWash.Models.MamaWashContext context) { _context = context; }