public ActionResult <IEnumerable <Models.NewsDto> > GetNews() { logger.LogInformation("GetNews method was called."); var news = newsManager.GetAllNews().ToList(); return(Ok(news)); }