Exemple #1
0
 // Constructor to inject data context into the repository
 public AuthRepository(GamesDbContext context)
 {
     _context = context;
 }
Exemple #2
0
 // Initalize contructor to set database context
 public Seed(GamesDbContext context)
 {
     _context = context;
 }