Exemplo n.º 1
0
 public ProblemQueryService(
     IMathHubDbContext mathHubDbContext,
     IUserQueryService userQueryService,
     IMainPostQueryService mainPostQueryService)
 {
     ctx = mathHubDbContext.GetDbContext();
     this._userQueryService = userQueryService;
     this._mainPostQueryService = mainPostQueryService;
 }
Exemplo n.º 2
0
 public DiscussionQueryService(
     IRepository<Discussion> discussionRepository,
     IMathHubDbContext context,
     IMainPostQueryService mainPostQuerySerivce)
 {
     this.ctx = context.GetDbContext();
     this._discussionRepository = discussionRepository;
     this._mainPostQuerySerivce = mainPostQuerySerivce;
 }