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