/// <summary> /// Initializes a new instance of the <see cref="BlogTasks"/> class. /// </summary> /// <param name="blogRepository"> /// The blog repository. /// </param> /// <param name="blogSpecificationFactory"> /// The blog specifications factory. /// </param> /// <param name="blogMapper"> /// The blog Mapper. /// </param> /// <param name="blogPostMapper"> /// The blog Post Mapper. /// </param> /// <param name="identityService"> /// The identity Service. /// </param> /// <param name="blogPostCommentMapper"> /// The blog Post Comment Mapper. /// </param> /// <param name="cachingProvider"> /// The caching provider. /// </param> public BlogTasks( IBlogRepository blogRepository, IBlogSpecificationFactory blogSpecificationFactory, IBlogMapper blogMapper, IBlogPostMapper blogPostMapper, IIdentityService identityService, IBlogPostCommentMapper blogPostCommentMapper, ICachingProvider cachingProvider) { this.blogRepository = blogRepository; this.blogSpecificationFactory = blogSpecificationFactory; this.blogMapper = blogMapper; this.blogPostMapper = blogPostMapper; this.identityService = identityService; this.blogPostCommentMapper = blogPostCommentMapper; this.cachingProvider = cachingProvider; }
public BlogService(IBlogRepository blogRepository, IBlogMapper mapper) { _blogRepository = blogRepository; _blogMapper = mapper; }