Пример #1
0
        //[Permission("Administrator")]
        public async Task <IdentityResult> AddClaim([FromBody] RoleClaimViewModel roleClaim)
        {
            var result = await _appRoleService.AddClaimAsync(roleClaim.RoleId, roleClaim.ClaimValue);

            return(result);
        }