示例#1
0
        public ActionResult GetSub(string CapDoID)
        {
            var account = Session[CommonHeader.ssAccount] as ZEMP_USER;

            List <SelectListItem> items = new List <SelectListItem>();

            if (CapDoID != "")
            {
                AccountDTO accDO = new AccountDTO();

                items = accDO.GetListGiaTriCapDo(account, CapDoID);
            }

            // you may replace the above code with data reading from database based on the id

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