//[Permission("Administrator")] public async Task <IdentityResult> Update([FromBody] AppRole role) { var result = await _appRoleService.UpdateAsync(role); return(result); }