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

14 lines
414 B
C#

using Core.DomainObjects.PageSections;
using WeatherForecast.Models.Abstractions;
namespace WeatherForecast.Models.PageSections {
public class CommentsSectionModel : PageSectionModelBase<CommentsSection> {
public string LeaveComment { get; set; }
public CommentsSectionModel(CommentsSection commentsSection) : base (commentsSection) {
LeaveComment = commentsSection.LeaveComment;
}
}
}