Beispiel #1
0
 public IActionResult GetIndex()
 {
     return(View("Index", articleStore
                 .GetAll()
                 .Reverse()
                 .Take(7)));
 }
Beispiel #2
0
 public IActionResult GetSitemap()
 {
     Response.ContentType = "application/xml";
     return(View("Feeds/Sitemap", articleStore.GetAll()));
 }