Esempio n. 1
0
        public HttpResponseMessage GetAllUserRolesSearch(int pageIndex, int pageSize, string q)
        {
            PagedResponse <AppUserRole> pagedResponse = appUserService.GetAllUserRolesSearch(pageIndex, pageSize, q);

            return(Request.CreateResponse(HttpStatusCode.OK, new ItemResponse <PagedResponse <AppUserRole> >
            {
                Item = pagedResponse
            }));
        }