public ActionResult Detail20(int id = 0) { ItemDao itemDao = new ItemDao(); var item = itemDao.GetItem_20(id); if (item == null) { return(RedirectToAction("Error")); } return(View(item)); }