Example #1
0
        public ContentResult GetRoles(ListFilter filter)
        {
            var totalCount = identityLogic.GetRolesCount(filter);
            var list       = identityLogic.GetRoles(filter);

            return(Content(JsonConvert.SerializeObject(new { Items = list, TotalCount = totalCount })));
        }