public static List <AreaViewModel> GetDistrictsByCitySysNo(int citySysNo) { var list = CommonFacade.GetAllDistrict(citySysNo); return(EntityConverter <List <Area>, List <AreaViewModel> > .Convert(list)); }
public ActionResult GetAllDistrict(int citySysNo) { var data = CommonFacade.GetAllDistrict(citySysNo); return(Json(data, JsonRequestBehavior.AllowGet)); }