private static ListTemplate1 CreateListTemplate1(SkillTypen typ, List <ListItem> listItems, string title)
        {
            var url = skillParameter.FirstOrDefault(v => v.Typ == typ)?.UrlTemplate;

            if (listItems.Count == 0 || listItems == null)
            {
                var item = CreateNoContentList();
                listItems.Add(item);
            }

            return(new ListTemplate1
            {
                Token = typ.ToString(),
                Title = title,
                BackButton = BackButtonVisibility.Visible,
                BackgroundImage = new TemplateImage
                {
                    ContentDescription = "_Icon",
                    Sources = new List <ImageSource> {
                        new ImageSource {
                            Url = url
                        }
                    }
                },
                Items = listItems
            });
        }
        public static BodyTemplate2 AddBodyContent(SkillTypen typ, SkillBodyContent content, string title)
        {
            var url = skillParameter.FirstOrDefault(v => v.Typ == typ)?.UrlTemplate;

            return(new BodyTemplate2
            {
                Token = typ.ToString(),
                Title = title,
                BackButton = BackButtonVisibility.Visible,
                Image = new TemplateImage
                {
                    ContentDescription = "_Icon",
                    Sources = new List <ImageSource> {
                        new ImageSource {
                            Url = content.ImageUrl
                        }
                    }
                },
                BackgroundImage = new TemplateImage
                {
                    ContentDescription = "_Icon",
                    Sources = new List <ImageSource> {
                        new ImageSource {
                            Url = url
                        }
                    }
                },
                Content = new TemplateContent
                {
                    Primary = new TemplateText {
                        Text = content.Primaer, Type = TextType.Rich
                    },
                    Secondary = new TemplateText {
                        Text = content.Sekundaer, Type = TextType.Rich
                    },
                    Tertiary = new TemplateText {
                        Text = content.Tertiaer, Type = TextType.Rich
                    }
                }
            });
        }