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

26 lines
640 B
C#

using Core.DomainObjects.Pages;
using WeatherForecast.Models.Abstractions;
using WeatherForecast.Models.PageSections;
namespace WeatherForecast.Models.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);
}
}
}