public ActionResult About() { var data = CategoryDA.GetCategories().ToList(); foreach (var item in data) { Console.WriteLine(item.Description); } ViewBag.Message = "Your application description page."; return(View()); }
public ActionResult About() { var data = CategoryDA.GetCategories().ToList(); foreach (var item in data) { Console.WriteLine(item.Description); } ViewBag.Message = "Your application description page."; return(View()); }