17 lines
611 B
C#
17 lines
611 B
C#
namespace FrontOffice.BFF.Application.PackageCQ.Commands.CreateNewPackage;
|
|
public class CreateNewPackageCommandHandler : IRequestHandler<CreateNewPackageCommand, CreateNewPackageResponseDto>
|
|
{
|
|
private readonly IApplicationContractContext _context;
|
|
|
|
public CreateNewPackageCommandHandler(IApplicationContractContext context)
|
|
{
|
|
_context = context;
|
|
}
|
|
|
|
public async Task<CreateNewPackageResponseDto> Handle(CreateNewPackageCommand request, CancellationToken cancellationToken)
|
|
{
|
|
//TODO: Implement your business logic
|
|
return new CreateNewPackageResponseDto();
|
|
}
|
|
}
|