public DB_MusicContext Init() { return(dbContext ?? (dbContext = new DB_MusicContext())); }
public GenericRepository() { this._context = new DB_MusicContext(); table = _context.Set <T>(); }
public GenericRepository(DB_MusicContext _context) { this._context = _context; table = _context.Set <T>(); }
public AlbumDetails(DB_MusicContext context) { _context = context; }