Exemplo n.º 1
0
        public dynamic GetSearchManagerList()
        {
            string               name    = Fun.Query("name");
            ManagerBLL           m       = new ManagerBLL();
            List <S_ManagerInfo> list    = m.GetSearchManagerList(name);
            List <ManagerInfo>   mList   = new List <ManagerInfo>();
            ManagerInfo          manager = null;

            foreach (var item in list)
            {
                manager      = new ManagerInfo();
                manager.id   = item.mgr_id;
                manager.name = item.mgr_name.Trim();
                manager.img  = item.mgr_headimgurl;
                mList.Add(manager);
            }
            return(mList);
        }