예제 #1
0
        public ActionResult EditChargeBase(string cbId)
        {
            ViewBag.Province = BaseDataService.GetAllProvince();
            ViewBag.PayType  = BaseDataService.GetAllPayType();
            if (string.IsNullOrEmpty(cbId))
            {
                ViewBag.ChargeBase = new ChargingBaseEntity();
            }
            else
            {
                ViewBag.ChargeBase = ChargeService.GetChargingBaseById(cbId.ToInt(0));
            }

            return(View());
        }