Ejemplo n.º 1
0
        public ActionResult GetProvince()
        {
            AreaBLL   areaBLL = new AreaBLL();
            JsonArray result  = areaBLL.GetProvince();

            return(Json(new { success = true, data = result }));
        }
Ejemplo n.º 2
0
        public ActionResult GetArea()
        {
            AreaBLL areaBLL = new AreaBLL();
            var     r       = areaBLL.GetRegions();
            var     c       = areaBLL.GetCities();
            var     p       = areaBLL.GetProvince();

            return(Json(new { success = true, r = r, c = c, p = p }));
        }
Ejemplo n.º 3
0
 public AreaProvinceResponse GetProvince()
 {
     return(abll.GetProvince());
 }