public void CreateNews(NewsItem item) { if (item == null) { throw new NullReferenceException(nameof(item)); } _newsRepository.Add(item); }