Exemple #1
0
 public IActionResult DeleteNewsItemById(int newsItemId)
 {
     _newsItemService.DeleteNewsItemById(newsItemId);
     _newsItemService.DeleteNewsItemAuthorConnection(newsItemId);
     _newsItemService.DeleteNewsItemCategoriesConnection(newsItemId);
     return(NoContent());
 }