protected Repository(WeTubeContext context) { _context = context; }
public VideoRepository(WeTubeContext context) : base(context) { _context = context; }
public UnitOfWork() { _context = new WeTubeContext(); Videos = new VideoRepository(_context); }