public void Visit(UserGroupAccessRights accessRights) { var rules = ConvertRules(accessRights); var dto = AccessRights.ForUserGroup(accessRights.UserGroupName, rules.Permanent.ToArray(), rules.Scheduled.ToArray()); UserGroupAccessRightsDto.Add(dto); }