public ActionResult GetProvince() { AreaBLL areaBLL = new AreaBLL(); JsonArray result = areaBLL.GetProvince(); return(Json(new { success = true, data = result })); }
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 })); }
public AreaProvinceResponse GetProvince() { return(abll.GetProvince()); }