public BlogSearchService(
     ISearchRepository <BlogPost> searchRepo,
     IServiceListModelFactory <SearchBlogPostResultDTO, IEnumerable <BlogPost> > modelFactory)
 {
     this.searchRepo   = searchRepo;
     this.modelFactory = modelFactory;
 }
 public BlogPostService(IBlogPostRepository blogPostRepo,
                        IEntityStringIdGet <Author> authorRepo,
                        IServiceListModelFactory <BlogPostDTO, IEnumerable <BlogPost> > blogSetModelFactory,
                        IServiceModelFactory <BlogPostDTO, BlogPost> blogModelFactory,
                        IDateTimeWrapper dateTimeProvider)
 {
     this.blogPostRepo        = blogPostRepo;
     this.authorRepo          = authorRepo;
     this.blogSetModelFactory = blogSetModelFactory;
     this.blogModelFactory    = blogModelFactory;
     this.dateTimeProvider    = dateTimeProvider;
 }