Beispiel #1
0
 protected Repository(WeTubeContext context)
 {
     _context = context;
 }
Beispiel #2
0
 public VideoRepository(WeTubeContext context) : base(context)
 {
     _context = context;
 }
Beispiel #3
0
        public UnitOfWork()
        {
            _context = new WeTubeContext();

            Videos = new VideoRepository(_context);
        }