예제 #1
0
        public static List <AreaViewModel> GetCitiesByProvinceSysNo(int provinceSysNo)
        {
            var list = CommonFacade.GetAllCity(provinceSysNo);

            return(EntityConverter <List <Area>, List <AreaViewModel> > .Convert(list));
        }
예제 #2
0
        public ActionResult GetAllCity(int proviceSysNo)
        {
            var data = CommonFacade.GetAllCity(proviceSysNo);

            return(Json(data, JsonRequestBehavior.AllowGet));
        }