Ejemplo n.º 1
0
 // GET: adminuser/City
 public ActionResult Index()
 {
     ViewBag.CountryList = db.ListAll();
     ViewBag.StateList   = db.Liststates();
     return(View());
 }
 public JsonResult List()
 {
     return(Json(db.ListAll(), JsonRequestBehavior.AllowGet));
 }