public ShowGroupsComponent(INewsGroupRepository newsGroupRepository) { _newsGroupRepository = newsGroupRepository; }
public NewsController(INewsRepository newsRepository, INewsGroupRepository newsGroupRepository) { _newsRepository = newsRepository; _newsGroupRepository = newsGroupRepository; }