// GET: Common/Item public ActionResult ListAll() { List<Item> domainItems = new List<Item>(); try { domainItems = new ItemBLL().GetList(); return View(domainItems.AsEnumerable()); } catch (Exception) { return SetSessionMessage(View(domainItems), SESSIONMESSAGE.FAIL, "We could not retrieve products from the database"); } }