public UnitOfWork( ProjectManagerContext dbContext, IUserRepository userRepository, IProjectRepository projectRepository, IProjectTaskRepository projectTaskRepository, IWorkTimeLogRepository workTimeLogRepository) { this._dbContext = dbContext; UserRepository = userRepository; ProjectRepository = projectRepository; ProjectTaskRepository = projectTaskRepository; WorkTimeLogRepository = workTimeLogRepository; }
protected RepositoryBase(ProjectManagerContext dbContext) { this.dbContext = dbContext; }