28 lines
		
	
	
		
			650 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			650 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
 | |
| using Core.DomainObjects.Pages;
 | |
| using WeatherForecast.Models.Abstractions;
 | |
| using WeatherForecast.Models.PageSections;
 | |
| 
 | |
| namespace WeatherForecast.Models.Pages {
 | |
| 
 | |
|   /// <summary>
 | |
|   /// 
 | |
|   /// </summary>
 | |
|   public class ShopCartPageModel : PageModelBase<ShopCartPage> {
 | |
| 
 | |
|     /// <summary>
 | |
|     /// 
 | |
|     /// </summary>
 | |
|     public CartProductsSectionModel ProductsSection { get; set; }
 | |
| 
 | |
|     /// <summary>
 | |
|     /// 
 | |
|     /// </summary>
 | |
|     /// <param name="shopCartPage"></param>
 | |
|     public ShopCartPageModel(ShopCartPage shopCartPage) : base(shopCartPage) {
 | |
| 
 | |
|       ProductsSection = new CartProductsSectionModel(shopCartPage.ProductsSection);
 | |
|     }
 | |
|   }
 | |
| }
 |