public DataFactory( IRadvillContext context, IUserRepository userRepository, ICategoryRepository categoryRepository, IQuestionRepository questionRepository, IAnswerRepository answerRepository, IPendingQuestionRepository pendingQuestionRepository, IAdvisorProfileRepository advisorProfileRepository) { _context = context; UserRepository = userRepository; CategoryRepository = categoryRepository; QuestionRepository = questionRepository; AnswerRepository = answerRepository; PendingQuestionRepository = pendingQuestionRepository; AdvisorProfileRepository = advisorProfileRepository; }