public ActionResult Edit(int id) { ItemDAO itemDAO = new ItemDAO(); ItemModel item = itemDAO.FetchOne(id); return(View("ItemForm", item)); }
public ActionResult Details(int id) { ItemDAO itemDAO = new ItemDAO(); ItemModel item = itemDAO.FetchOne(id); return(View("Details", item)); }