using Core.DomainObjects.Pages; using WeatherForecast.Models.Abstractions; using WeatherForecast.Models.PageSections; namespace WeatherForecast.Models.Pages { /// /// /// public class HomePageModel : PageModelBase { /// /// /// public TestimonialsSectionModel TestimonialsSection { get; set; } /// /// /// public FeaturedBlogsSectionModel FeaturedBlogsSection { get; set; } /// /// /// public CallToActionSectionModel CallToActionSection { get; set; } /// /// /// /// public HomePageModel(HomePage homePage) : base(homePage) { TestimonialsSection = new TestimonialsSectionModel(homePage.TestimonialsSection); FeaturedBlogsSection = new FeaturedBlogsSectionModel(homePage.FeaturedBlogsSection); CallToActionSection = new CallToActionSectionModel(homePage.CallToActionSection); } } }