Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }