public UnitOfWork(CVProjectContext context) { _dbContext = context; if (context == null) { throw new ArgumentNullException("Db Context Can Not Be Null"); } _skill = CreateRepo <Skill>(); _user = CreateRepo <User>(); }
public RepositoryBase(CVProjectContext context) { _context = context; _dbSet = _context.Set <TModel>(); }
public MaterialRepository(CVProjectContext context) { this.context = context; }
public WorkExperienceRepository(CVProjectContext context) { this.context = context; }
public CourseRepository(CVProjectContext context) { this.context = context; }
public TechnologyRepository(CVProjectContext context) { this.context = context; }
public EducationRepository(CVProjectContext context) { this.context = context; }
public SkillRepository(CVProjectContext context) { this.context = context; }