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

14 lines
462 B
C#

using Core.DomainObjects.Pages;
using WeatherForecast.Models.Abstractions;
using WeatherForecast.Models.PageSections;
namespace WeatherForecast.Models.Pages {
public class BlogItemPageModel : PageModelBase<BlogItemPage> {
public CommentsSectionModel CommentsSection { get; set; }
public BlogItemPageModel(BlogItemPage blogItemPage) : base(blogItemPage) {
CommentsSection = new CommentsSectionModel(blogItemPage.CommentsSection);
}
}
}