Пример #1
0
 public static void Initialize(IServiceProvider serviceProvider)
 {
     using (MamaWashContext context = new MamaWashContext(serviceProvider.GetRequiredService <DbContextOptions <MamaWashContext> >()))
     {
     }
 }
Пример #2
0
 public CreateModel(MamaWash.Models.MamaWashContext context)
 {
     _context = context;
 }
Пример #3
0
 public IndexModel(MamaWash.Models.MamaWashContext context)
 {
     _context = context;
 }