コード例 #1
0
ファイル: ProblemController.cs プロジェクト: hqt/MathHub
 public ProblemController(
     IProblemQueryService problemQueryService,
     ICommentCommandService commentCommandService,
     IProblemCommandService problemCommandService,
     IAuthenticationService authenticationService)
 {
     _problemQueryService = problemQueryService;
     _commentCommandService = commentCommandService;
     _problemCommandService = problemCommandService;
     _authenticationService = authenticationService;
 }
コード例 #2
0
ファイル: BlogController.cs プロジェクト: hqt/MathHub
 public BlogController(
     IProblemQueryService problemQueryService,
     ICommentCommandService commentCommandService,
     IProblemCommandService problemCommandService,
     IBlogQueryService blogQueryService,
     IBlogCommandService blogCommandService,
     IAuthenticationService authenticationService)
 {
     this._problemQueryService = problemQueryService;
     this._commentCommandService = commentCommandService;
     this._problemCommandService = problemCommandService;
     this._blogCommandService = blogCommandService;
     this._blogQueryService = blogQueryService;
     this._authenticationService = authenticationService;
 }