private SetRolesAndGroups ( System.Guid userId, IEnumerable |
||
userId | System.Guid | |
authenticatedGroups | IEnumerable |
|
Результат | void |
private void SetRolesAndGroups(Guid userId, IEnumerable<string> authenticatedGroups)
{
List<string> authenticatedGroupList = authenticatedGroups.Where(o => !string.IsNullOrEmpty(o)).ToList();
SetUserGroups(userId, authenticatedGroupList);
SetUserRoles(userId, authenticatedGroupList);
}