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

26 lines
671 B
C#

using DomainObjects.Pages;
using WeatherForecast.Models.Abstractions;
using WeatherForecast.Models.Content.Responses.PageSections;
namespace WeatherForecast.Models.Content.Responses.Pages {
/// <summary>
///
/// </summary>
public class BlogItemPageModel : PageModelBase<BlogItemPage> {
/// <summary>
///
/// </summary>
public CommentsSectionModel CommentsSection { get; set; }
/// <summary>
///
/// </summary>
/// <param name="blogItemPage"></param>
public BlogItemPageModel(BlogItemPage blogItemPage) : base(blogItemPage) {
CommentsSection = new CommentsSectionModel(blogItemPage.CommentsSection);
}
}
}