Ejemplo n.º 1
0
 public QuestionEntityModelFactory(
     IAnswerEntityModelFactory answerFactory,
     ICommentEntityToModelFactory commentFactory)
 {
     _answerFactory  = answerFactory;
     _commentFactory = commentFactory;
 }
Ejemplo n.º 2
0
 public AnswerRepository(
     StackOverHeadQuestionDbContext dbContext,
     IAnswerEntityModelFactory convert,
     ICommentEntityToModelFactory convertComment)
     : base(dbContext, convert)
 {
     _convertComment = convertComment;
 }