17 lines
495 B
C#
17 lines
495 B
C#
|
|
using Core.DomainObjects.Pages;
|
|
using WeatherForecast.Models.Abstractions;
|
|
using WeatherForecast.Models.PageSections;
|
|
|
|
namespace WeatherForecast.Models.Pages {
|
|
public class ShopCartPageModel : PageModelBase {
|
|
|
|
public ProductsSectionModel ProductsSectionModel { get; set; }
|
|
|
|
public ShopCartPageModel(ShopCartPage shopCartPage) : base(shopCartPage.Header, shopCartPage.TitleSection) {
|
|
|
|
ProductsSectionModel = new ProductsSectionModel(shopCartPage.ProductsSection);
|
|
}
|
|
}
|
|
}
|