Exemple #1
0
        public virtual async Task LoadAccessRightOptions(IdentityManagerClient idMgr, string entLookup)
        {
            log.LogInformation($"Loading Access right options for {entLookup}");

            var accessRightsResp = await idMgr.ListAccessRights(entLookup);

            State.AccessRightOptions = accessRightsResp?.Model?.Select(ar => ar.Lookup).ToList() ?? new List <string>();
        }
Exemple #2
0
        public virtual async Task LoadAccessRightOptions(IdentityManagerClient idMgr, string entApiKey)
        {
            var accessRightsResp = await idMgr.ListAccessRights(entApiKey);

            State.AccessRightOptions = accessRightsResp?.Model.Select(ar => ar.Lookup).ToList() ?? new List <string>();
        }