Exemple #1
0
 public GenericRepository(AdminDashEntities context)
 {
     _context = context;
     table    = _context.Set <T>();
 }
Exemple #2
0
 public GenericRepository()
 {
     _context = new AdminDashEntities();
     table    = _context.Set <T>();
 }