private static string GetSpecName(List<SpecViewModel> spec) { if (spec == null) return null; return string.Concat(spec.Select(GetCompositeName)); }