17 lines
646 B
C#
17 lines
646 B
C#
namespace BackOffice.BFF.Application.UserAddressCQ.Commands.CreateNewUserAddress;
|
|
public class CreateNewUserAddressCommandHandler : IRequestHandler<CreateNewUserAddressCommand, CreateNewUserAddressResponseDto>
|
|
{
|
|
private readonly IApplicationContractContext _context;
|
|
|
|
public CreateNewUserAddressCommandHandler(IApplicationContractContext context)
|
|
{
|
|
_context = context;
|
|
}
|
|
|
|
public async Task<CreateNewUserAddressResponseDto> Handle(CreateNewUserAddressCommand request, CancellationToken cancellationToken)
|
|
{
|
|
//TODO: Implement your business logic
|
|
return new CreateNewUserAddressResponseDto();
|
|
}
|
|
}
|