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

14 lines
408 B
C#

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