using DomainObjects.Pages;
using WeatherForecast.Models.Abstractions;
using WeatherForecast.Models.Content.Responses.PageSections;

namespace WeatherForecast.Models.Content.Responses.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);
    }
  }
}
