/// <summary> /// Initializes a new instance of the <see cref="BlogPostArchivePageViewModelMapper"/> class. /// </summary> /// <param name="blogPostSummaryPageViewModelMapper"> /// The blog post summary page view model mapper. /// </param> /// <param name="archiveSectionViewModelMapper"> /// The archive Section View Model Mapper. /// </param> public BlogPostArchivePageViewModelMapper( IBlogPostSummaryPageViewModelMapper blogPostSummaryPageViewModelMapper, IArchiveSectionViewModelMapper archiveSectionViewModelMapper) { this.blogPostSummaryPageViewModelMapper = blogPostSummaryPageViewModelMapper; this.archiveSectionViewModelMapper = archiveSectionViewModelMapper; }
/// <summary> /// Initializes a new instance of the <see cref="BlogPostPageViewModelMapper"/> class. /// </summary> /// <param name="blogPostFormViewModelMapper"> /// The blog post form view model mapper. /// </param> /// <param name="blogPostCommentPageViewModelMapper"> /// The blog Post Comment Page View Model Mapper. /// </param> /// <param name="identityService"> /// The identity Service. /// </param> /// <param name="archiveSectionViewModelMapper"> /// The archive Section View Model Mapper. /// </param> public BlogPostPageViewModelMapper( IBlogPostFormViewModelMapper blogPostFormViewModelMapper, IBlogPostCommentPageViewModelMapper blogPostCommentPageViewModelMapper, IIdentityService identityService, IArchiveSectionViewModelMapper archiveSectionViewModelMapper) { this.blogPostFormViewModelMapper = blogPostFormViewModelMapper; this.archiveSectionViewModelMapper = archiveSectionViewModelMapper; this.blogPostCommentPageViewModelMapper = blogPostCommentPageViewModelMapper; this.identityService = identityService; }