implement ICommand<> interface
This commit is contained in:
parent
daeee4d4b1
commit
04819105d2
@ -18,7 +18,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.Commands
|
||||
// https://msdn.microsoft.com/en-us/library/bb383979.aspx
|
||||
|
||||
[DataContract]
|
||||
public class CreateOrderCommand : ICommand, IRequest<bool>
|
||||
public class CreateOrderCommand : ICommand<bool>
|
||||
{
|
||||
|
||||
[DataMember]
|
||||
|
@ -10,7 +10,7 @@ using static Microsoft.eShopOnContainers.Services.Ordering.API.Application.Comma
|
||||
|
||||
namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.Commands
|
||||
{
|
||||
public class CreateOrderDraftCommand : ICommand, IRequest<OrderDraftDTO>
|
||||
public class CreateOrderDraftCommand : ICommand<OrderDraftDTO>
|
||||
{
|
||||
public Guid CommandId { get; }
|
||||
|
||||
|
@ -8,7 +8,7 @@ using Microsoft.eShopOnContainers.Services.Ordering.API.Application.Commands;
|
||||
|
||||
namespace Ordering.API.Application.Commands
|
||||
{
|
||||
public class ShipOrderCommand : ICommand, IRequest<bool>
|
||||
public class ShipOrderCommand : ICommand<bool>
|
||||
{
|
||||
public Guid CommandId { get; set; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user