14 lines
		
	
	
		
			482 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			482 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Core.DomainObjects.PageSections;
 | |
| using WeatherForecast.Models.Abstractions;
 | |
| 
 | |
| namespace WeatherForecast.Models.PageSections {
 | |
|   public class TestimonialsSectionModel : PageSectionModelBase<TestimonialsSection> {
 | |
|     public List<TestimonialModel> Items { get; set; }
 | |
| 
 | |
| 
 | |
|     public TestimonialsSectionModel(TestimonialsSection testimonialsSection) : base(testimonialsSection) {
 | |
|       Items = testimonialsSection.Items.Select(x => new TestimonialModel(x)).ToList();
 | |
|     }
 | |
|   }
 | |
| }
 |