예제 #1
0
        public ActionResult About(ListCiudadesViewModel obj)
        {
            Int32 paisId   = obj.paisId;
            Int32 ciudadId = obj.provinciaId;

            return(RedirectToAction("Contact", "Home"));
        }
예제 #2
0
        public JsonResult getProvincias(Int32 paisId)
        {
            ListCiudadesViewModel       obj        = new ListCiudadesViewModel();
            IQueryable <SelectCiudades> provincias = obj.Fill(paisId);

            return(Json(provincias, JsonRequestBehavior.AllowGet));
        }
예제 #3
0
        public ActionResult About()
        {
            ListCiudadesViewModel obj = new ListCiudadesViewModel();

            return(View(obj));
        }