private async Task CreateUser(IDestination destination, UserDestinationModel userDestination) { List <string> existingUserGroups = await destination.ReadGroups(); userDestination.Groups = GetComparedUserGroups(existingUserGroups, userDestination.Groups).ToArray(); await destination.Save(userDestination); _logger.LogInformation($"{destination.GetType().Name}: User with name of '{userDestination.FullName}' was created"); }