reactredux/webapi/WeatherForecast/Models/Pages/BlogCatalogPageModel.cs

15 lines
508 B
C#

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