public ActionResult NewsItem(int id) { DataModel dataModel = new DataModel(); dataModel.SelectedNewsItem = NewsItems.GetNewsItemByNewsItemId(id); return(View(dataModel)); }
public ActionResult NewsItem(int id) { DataModel dataModel = new DataModel(); dataModel.SelectedNewsItem = NewsItems.GetNewsItemByNewsItemId(id); return(View(dataModel)); }