using Core.DomainObjects.PageSections; using WeatherForecast.Models.Abstractions; namespace WeatherForecast.Models.PageSections { public class FeaturesSectionModel : PageSectionModelBase { public List Items { get; set; } public FeaturesSectionModel(FeaturesSection featuresSection) : base(featuresSection) { Items = featuresSection.Items.Select(x => new FeatureModel(x)).ToList(); } } }