public virtual async Task DeleteScopeAsync(ApiScopeGetByNameInputDto apiScopeGetByName)
        {
            var apiResource = await ApiResourceRepository.GetAsync(apiScopeGetByName.ApiResourceId);

            apiResource.RemoveScope(apiScopeGetByName.Name);
        }
Example #2
0
 public virtual async Task DeleteScopeAsync(ApiScopeGetByNameInputDto apiScopeGetByName)
 {
     await ApiResourceAppService.DeleteScopeAsync(apiScopeGetByName);
 }