18 lines
616 B
C#
18 lines
616 B
C#
using Core.DomainObjects.Pages;
|
|
using WeatherForecast.Models.Abstractions;
|
|
using WeatherForecast.Models.PageSections;
|
|
|
|
namespace WeatherForecast.Models.Pages {
|
|
public class ShopItemPageModel : PageModelBase {
|
|
public ProductSectionModel ProductSection { get; set; }
|
|
public RelatedProductsSectionModel RelatedProductsSection { get; set; }
|
|
|
|
public ShopItemPageModel(ShopItemPage shopItemPage) : base() {
|
|
ProductSection = new ProductSectionModel(shopItemPage.ProductSection);
|
|
RelatedProductsSection = new RelatedProductsSectionModel(shopItemPage.RelatedProductsSection);
|
|
|
|
|
|
}
|
|
}
|
|
}
|