16 lines
373 B
C#
16 lines
373 B
C#
using Core.Abstractions.Models;
|
|
using Core.DomainObjects;
|
|
using Core.DomainObjects.Documents;
|
|
|
|
namespace WeatherForecast.Models.Requests {
|
|
public class PutShopCartItemRequestModel : RequestModelBase<ShopCartItem> {
|
|
|
|
public uint Quantity { get; set; }
|
|
|
|
|
|
public override ShopCartItem ToDomainObject() => new ShopCartItem {
|
|
Quantity = Quantity
|
|
};
|
|
}
|
|
}
|