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