18 lines
654 B
C#
18 lines
654 B
C#
|
|
using CMSMicroservice.Domain.Events;
|
||
|
|
namespace CMSMicroservice.Application.UserOrderCQ.Commands.SubmitShopBuyOrder;
|
||
|
|
public class SubmitShopBuyOrderCommandHandler : IRequestHandler<SubmitShopBuyOrderCommand, SubmitShopBuyOrderResponseDto>
|
||
|
|
{
|
||
|
|
private readonly IApplicationDbContext _context;
|
||
|
|
|
||
|
|
public SubmitShopBuyOrderCommandHandler(IApplicationDbContext context)
|
||
|
|
{
|
||
|
|
_context = context;
|
||
|
|
}
|
||
|
|
|
||
|
|
public async Task<SubmitShopBuyOrderResponseDto> Handle(SubmitShopBuyOrderCommand request, CancellationToken cancellationToken)
|
||
|
|
{
|
||
|
|
//TODO: Implement your business logic
|
||
|
|
return new SubmitShopBuyOrderResponseDto();
|
||
|
|
}
|
||
|
|
}
|