public SearchBarController( IBlogSearchService searchService, IModelFactory <BlogPostSetViewModel, IEnumerable <SearchBlogPostResultDTO> > modelFactory, ILogger <SearchBarController> logger) { this.searchService = searchService; this.modelFactory = modelFactory; this.logger = logger; }
public BlogController(IBlogSearchService blogSearchService) => this.blogSearchService = blogSearchService ?? throw new ArgumentException(nameof(blogSearchService));
public BlogsController(IBlogService blogService, IBlogSearchService blogSearchService, INotificationSender notificationSender) { _blogService = blogService; _blogSearchService = blogSearchService; _notificationSender = notificationSender; }