Example #1
0
 public BookRepository(GestionLivreContext context, IConfiguration configuration) //Dependence injection
 {
     _context       = context;
     _configuration = configuration;
 }
Example #2
0
 public LanguageRepository(GestionLivreContext context)
 {
     _context = context;
 }