public BlogUnitOfWork( IPostReadOnlyRepository postReadOnlyRepository, IPostCommandRepository postCommandRepository, ICommentReadOnlyRepository commentReadOnlyRepository, ICommentCommandRepository commentCommandRepository) { PostReadOnlyRepository = postReadOnlyRepository; PostCommandRepository = postCommandRepository; CommentReadOnlyRepository = commentReadOnlyRepository; CommentCommandRepository = commentCommandRepository; }
public CommentGetByIdUseCase(ICommentReadOnlyRepository commentReadOnlyRepository) { this.commentReadOnlyRepository = commentReadOnlyRepository; }