Exemplo n.º 1
0
        /// <summary>
        /// 用户信息
        /// </summary>
        /// <param name="hallNo">服务厅编号</param>
        /// <returns></returns>
        public ActionResult GetUsers(string hallNo)
        {
            var staffDal = new SYS_USER_DAL();
            var list     = staffDal.GetUserOByHall(hallNo);

            return(Json(list.Select(m => new SelectListItem()
            {
                Text = m.USER_NAM,
                Value = m.USER_ID
            }), JsonRequestBehavior.AllowGet));
        }