using Core.DomainObjects.Pages; using WeatherForecast.Models.Abstractions; using WeatherForecast.Models.PageSections; namespace WeatherForecast.Models.Pages { public class BlogCatalogPageModel : PageModelBase { public FeaturedBlogSectionModel FeaturedBlogSection { get; set; } public BlogCatalogPageModel(BlogCatalogPage blogCatalogPage) : base(blogCatalogPage.Header, blogCatalogPage.TitleSection) { FeaturedBlogSection = new FeaturedBlogSectionModel(blogCatalogPage.FeaturedBlogSection); } } }