reactredux/webapi/WeatherForecast/Models/Content/Responses/PageSections/CommentsSectionModel.cs

26 lines
608 B
C#

using DomainObjects.PageSections;
using WeatherForecast.Models.Abstractions;
namespace WeatherForecast.Models.Content.Responses.PageSections {
/// <summary>
///
/// </summary>
public class CommentsSectionModel : PageSectionModelBase<CommentsSection> {
/// <summary>
///
/// </summary>
public string LeaveComment { get; set; }
/// <summary>
///
/// </summary>
/// <param name="commentsSection"></param>
public CommentsSectionModel(CommentsSection commentsSection) : base (commentsSection) {
LeaveComment = commentsSection.LeaveComment;
}
}
}