Example #1
0
 public TestsController(IRepositoryTest repositoryTest, IRepositoryQuestion repositoryQuestion, AppDbContext ctx)
 {
     _repo  = repositoryTest;
     _repoQ = repositoryQuestion;
     _ctx   = ctx;
 }
 public QuestionService(IRepositoryQuestion repositoryQuestion, IRepositoryAnswer repositoryAnswer, NotificationContext notificationContext)
 {
     _repositoryQuestion  = repositoryQuestion;
     _repositoryAnswer    = repositoryAnswer;
     _notificationContext = notificationContext;
 }