Exemplo n.º 1
0
        public IHttpActionResult Query(int currentPage = 1, int pageSize = 10, string groupName = "")
        {
            BaseRequest <GroupFilter> request = new BaseRequest <GroupFilter>
            {
                CurrentPage = currentPage,
                PageSize    = pageSize,
                Data        = { GroupName = groupName }
            };
            var response = GroupService.QueryGroup(request);

            return(Ok(response));
        }