reactredux/webapi/WeatherForecast/Models/PageSections/ShopItemsSectionModel.cs

26 lines
589 B
C#

using Core.DomainObjects.PageSections;
using WeatherForecast.Models.Abstractions;
namespace WeatherForecast.Models.PageSections {
/// <summary>
///
/// </summary>
public class ShopItemsSectionModel : PageSectionModelBase<ShopItemsSection> {
/// <summary>
///
/// </summary>
public string AddToCart { get; set; }
/// <summary>
///
/// </summary>
/// <param name="shopItemSection"></param>
public ShopItemsSectionModel(ShopItemsSection shopItemSection) : base(shopItemSection) {
AddToCart = shopItemSection.AddToCart;
}
}
}