示例#1
0
        public IHttpActionResult Query(int orgId, int currentPage = 1, int pageSize = 10, string keywords = "")
        {
            var request = new BaseRequest <ServiceGroupFilter>();

            request.CurrentPage         = currentPage;
            request.PageSize            = pageSize;
            request.Data.OrganizationID = orgId;
            request.Data.Status         = "启用";
            request.Data.KeyWords       = keywords;
            var response = service.QueryServiceGroup(request);

            return(Ok(response));
        }
示例#2
0
        public IHttpActionResult Query([FromUri] BaseRequest <ServiceGroupFilter> request)
        {
            var response = service.QueryServiceGroup(request);

            return(Ok(response));
        }