Browse Source

implement ICommand<> interface

pull/660/head
domenkogler 6 years ago
parent
commit
04819105d2
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/Services/Ordering/Ordering.API/Application/Commands/CreateOrderCommand.cs
  2. +1
    -1
      src/Services/Ordering/Ordering.API/Application/Commands/CreateOrderDraftCommand.cs
  3. +1
    -1
      src/Services/Ordering/Ordering.API/Application/Commands/ShipOrderCommand.cs

+ 1
- 1
src/Services/Ordering/Ordering.API/Application/Commands/CreateOrderCommand.cs View File

@ -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]


+ 1
- 1
src/Services/Ordering/Ordering.API/Application/Commands/CreateOrderDraftCommand.cs View File

@ -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; }


+ 1
- 1
src/Services/Ordering/Ordering.API/Application/Commands/ShipOrderCommand.cs View File

@ -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…
Cancel
Save