예제 #1
0
        //[Permission("Administrator")]
        public async Task <JsonResult> GetClaimsByRoleId(string roleId)
        {
            var result = await _appRoleService.GetClaimsAsync(roleId);

            return(Json(result, _jsonSerializerSettings));
        }