コード例 #1
0
 public JsonResult List()
 {
     try
     {
         var _prodList = crudFactory.GetList();
         return(Json(_prodList));
     }
     catch (Exception ex)
     {
         return(Json(ex.Message));
     }
 }
コード例 #2
0
        // GET: Product/Details/5
        public ActionResult List()
        {
            var _prodList = crudFactory.GetList();

            return(View(_prodList));
        }