public GenericRepository(AdminDashEntities context) { _context = context; table = _context.Set <T>(); }
public GenericRepository() { _context = new AdminDashEntities(); table = _context.Set <T>(); }
public GenericRepository(AdminDashEntities context) { _context = context; table = _context.Set <T>(); }
public GenericRepository() { _context = new AdminDashEntities(); table = _context.Set <T>(); }