public TopArticlesController(ITopArticlesService TopArticlesService) { this.topArticlesService = TopArticlesService; }
public HomeController(ILogger<HomeController> logger, ITopArticlesService TopArticlesService) { _logger = logger; this.topArticlesService = TopArticlesService; }