Beispiel #1
0
 public EFMovieRepository(MovieDbContext context)
 {
     _context = context;
 }
Beispiel #2
0
        private MovieDbContext _context;                 // private BookstoreDbContext type called context _ means private

        public EFMovieRepository(MovieDbContext context) // Constructor
        {
            _context = context;
        }