コード例 #1
0
 public BlogUnitOfWork(
     IPostReadOnlyRepository postReadOnlyRepository,
     IPostCommandRepository postCommandRepository,
     ICommentReadOnlyRepository commentReadOnlyRepository,
     ICommentCommandRepository commentCommandRepository)
 {
     PostReadOnlyRepository    = postReadOnlyRepository;
     PostCommandRepository     = postCommandRepository;
     CommentReadOnlyRepository = commentReadOnlyRepository;
     CommentCommandRepository  = commentCommandRepository;
 }
コード例 #2
0
 public CommentGetByIdUseCase(ICommentReadOnlyRepository commentReadOnlyRepository)
 {
     this.commentReadOnlyRepository = commentReadOnlyRepository;
 }