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