public UnitOfWork(TitanDbContext context) { var sessionId = Guid.NewGuid(); _context = context; Instructors = new InstructorRepository(_context); Courses = new CourseRepository(_context); }
public InstructorRepository(TitanDbContext context) : base(context) { _context = context; }
public UnitOfWork(TitanDbContext context) { _context = context; Instructors = new InstructorRepository(_context); Courses = new CourseRepository(_context); }
public TitanRepository(TitanDbContext context) { _context = context; }
public CourseRepository(TitanDbContext context) : base(context) { _context = context; }