public CommandsHandler(IBlogRepository blogRepository, IBlogPostMetadataResolver postMetadataResolver, ITagMapper tagMapper, IEmailService emailService, IUserRepository userRepository)
 {
     _blogRepository       = blogRepository;
     _postMetadataResolver = postMetadataResolver;
     _tagMapper            = tagMapper;
     _emailService         = emailService;
     _userRepository       = userRepository;
 }
示例#2
0
        //private string _url = $@"https://localhost:5001/api/blog";

        public BlogPostUploadService(IBlogEngineLogger <BlogPostUploadService> logger, IBlogPostMetadataResolver blockBlogPostMetadataResolver)
        {
            _logger = logger;
            _blockBlogPostMetadataResolver = blockBlogPostMetadataResolver;
        }