コード例 #1
0
 public ActionResult Liste()
 {
     try
     {
         List <Contact> contact = dao.Liste();
         return(View(contact));
     }
     catch (Exception err)
     {
         ViewBag.Message = err.Message;
         return(View());
     }
 }