|
|
@ -6,10 +6,15 @@ |
|
|
|
using System.Collections; |
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
//(CDLTLL) TO DO: This is wrong, we must NOT use a child-entity class within a Command class!!
|
|
|
|
//Need to create a different DTO class, like OrderLineDTO or similar...
|
|
|
|
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate; |
|
|
|
|
|
|
|
public class NewOrderCommand |
|
|
|
:IAsyncRequest<bool> |
|
|
|
{ |
|
|
|
|
|
|
|
//(CDLTLL) TO DO: This is wrong, we must NOT use a child-entity class within a Command class!!
|
|
|
|
//Need to create a different DTO class, like OrderLineDTO or similar...
|
|
|
|
private readonly List<OrderItem> _orderItems; |
|
|
|
public string City { get; set; } |
|
|
|
|
|
|
|