public UnitOfWork(SWEContext context) { this.context = context; Facultie = new FacultieRepository(context); Department = new DepartmentRepository(context); Professor = new ProfessorRepository(context); Student = new StudentRepository(context); StudentLog = new StudentLogRepository(context); Course = new CourseRepository(context); }
public GUIDRepository(SWEContext context) { Table = context.Set <T>(); Context = context; }