Ejemplo n.º 1
0
 // GET: Calculator
 public ActionResult Calculator()
 {
     //获取省份
     ViewBag.Provinces = CommonHelper.EntityListToSelctList(regionSv.GetProvince(), "请选择省份");
     //获取户籍
     ViewBag.UserTypes = CommonHelper.SelectListType(typeof(HouseholdPropertyEnum), "请选择户籍性质");
     return(View());
 }
Ejemplo n.º 2
0
        // GET
        public IActionResult GetProvince()
        {
            var list = regionService.GetProvince();

            return(Json(list));
        }
Ejemplo n.º 3
0
 public ActionResult Add2()
 {
     //获取省份
     ViewBag.Provinces = CommonHelper.EntityListToSelctList(regionSv.GetProvince(), "请选择省份");
     return(View());
 }