public ActionResult Users(int pageIndex, int pageSize)
        {
            var query    = new GetUsersQueryRequest(pageIndex, pageSize);
            var response = _membershipQueryService.GetUsers(query);

            return(View("Users", response.Users));
        }
示例#2
0
        public ActionResult Users(string keyword)
        {
            var query = new GetUsersQueryRequest(keyword);
            var users = _membershipQueryService.GetUsers(query);

            return(View(users));
        }