using DomainObjects.Pages;
using DomainObjects.Pages;
using WeatherForecast.Models.Abstractions;
using WeatherForecast.Models.Content.Responses.PageSections;
namespace WeatherForecast.Models.Content.Responses.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);
}
}
}