Example #1
0
 public void UpdateNews(NewsItem item)
 {
     if (item == null)
     {
         throw new NullReferenceException(nameof(item));
     }
     _newsRepository.Update(item);
 }