reactredux/webapi/WeatherForecast/Models/Pages/ShopCartPageModel.cs

17 lines
473 B
C#

using Core.DomainObjects.Pages;
using WeatherForecast.Models.Abstractions;
using WeatherForecast.Models.PageSections;
namespace WeatherForecast.Models.Pages {
public class ShopCartPageModel : PageModelBase<ShopCartPage> {
public CartProductsSectionModel ProductsSection { get; set; }
public ShopCartPageModel(ShopCartPage shopCartPage) : base(shopCartPage) {
ProductsSection = new CartProductsSectionModel(shopCartPage.ProductsSection);
}
}
}