public PageBox Query(int pageIndex = 1, string UName = "", string GName = "", int GId = 0, int SId = 0)
        {
            var list = bll.Query();

            if (!string.IsNullOrWhiteSpace(UName))
            {
                list = list.Where(m => m.UName.Contains(UName)).ToList();
            }
            if (!string.IsNullOrWhiteSpace(GName))
            {
                list = list.Where(m => m.GName.Contains(GName)).ToList();
            }
            if (GId != 0)
            {
                list = list.Where(m => m.GId.Equals(GId)).ToList();
            }
            if (SId != 0)
            {
                list = list.Where(m => m.SId.Equals(SId)).ToList();
            }
            PageBox page = new PageBox
            {
                PageIndex = pageIndex,
                PageCount = list.Count / PAGESIZE + (list.Count % PAGESIZE > 0 ? 1 : 0),
                Data      = list.Skip((pageIndex - 1) * PAGESIZE).Take(PAGESIZE)
            };

            return(page);
        }