using Core.Abstractions.Models; using Core.DomainObjects.Documents; namespace WeatherForecast.Models.Responses { public class GetShopCartResponseModel : ResponseModelBase { public List Items { get; set; } public GetShopCartResponseModel(List items) { Items = items.Select(x => new ShopCartModel(x)).ToList(); } } }