25 lines
639 B
C#
25 lines
639 B
C#
using DomainObjects.PageSections;
|
|
using WeatherForecast.Models.Abstractions;
|
|
|
|
namespace WeatherForecast.Models.Content.Responses.PageSections {
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class FeaturesSectionModel : PageSectionModelBase<FeaturesSection> {
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public List<FeatureModel> Items { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="featuresSection"></param>
|
|
public FeaturesSectionModel(FeaturesSection featuresSection) : base(featuresSection) {
|
|
Items = featuresSection.Items.Select(x => new FeatureModel(x)).ToList();
|
|
}
|
|
}
|
|
}
|