public ActionResult Liste() { try { List <Contact> contact = dao.Liste(); return(View(contact)); } catch (Exception err) { ViewBag.Message = err.Message; return(View()); } }
public ActionResult Liste() { try { List <Contact> contact = dao.Liste(); return(View(contact)); } catch (Exception err) { ViewBag.Message = err.Message; return(View()); } }