26 lines
		
	
	
		
			595 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			595 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Core.DomainObjects.PageSections;
 | |
| using WeatherForecast.Models.Abstractions;
 | |
| 
 | |
| namespace WeatherForecast.Models.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;
 | |
|     }
 | |
|   }
 | |
| }
 |