예제 #1
0
 public JsonResult Get()
 {
     try
     {
         var Ciudad = CiudadDAO.Get();
         return(new JsonResult()
         {
             JsonRequestBehavior = JsonRequestBehavior.AllowGet,
             Data = new { Datos = Ciudad }
         });
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }