예제 #1
0
 public void DeleteNews(NewsItem item)
 {
     if (item == null)
     {
         throw new NullReferenceException(nameof(item));
     }
     _newsRepository.Delete(item);
 }