using Core.DomainObjects.Pages;
using WeatherForecast.Models.Abstractions;
using WeatherForecast.Models.PageSections;

namespace WeatherForecast.Models.Pages {

  /// <summary>
  /// 
  /// </summary>
  public class BlogCatalogPageModel : PageModelBase<BlogCatalogPage> {
    
    /// <summary>
    /// 
    /// </summary>
    public FeaturedBlogSectionModel FeaturedBlogSection { get; set; }

    /// <summary>
    /// 
    /// </summary>
    /// <param name="blogCatalogPage"></param>
    public BlogCatalogPageModel(BlogCatalogPage blogCatalogPage) : base(blogCatalogPage) {
      FeaturedBlogSection = new FeaturedBlogSectionModel(blogCatalogPage.FeaturedBlogSection);
    }
  }
}
