17 lines
584 B
C#
17 lines
584 B
C#
|
|
namespace FrontOffice.BFF.Application.UserCQ.Commands.CreateNewUser;
|
||
|
|
public class CreateNewUserCommandHandler : IRequestHandler<CreateNewUserCommand, CreateNewUserResponseDto>
|
||
|
|
{
|
||
|
|
private readonly IApplicationContractContext _context;
|
||
|
|
|
||
|
|
public CreateNewUserCommandHandler(IApplicationContractContext context)
|
||
|
|
{
|
||
|
|
_context = context;
|
||
|
|
}
|
||
|
|
|
||
|
|
public async Task<CreateNewUserResponseDto> Handle(CreateNewUserCommand request, CancellationToken cancellationToken)
|
||
|
|
{
|
||
|
|
//TODO: Implement your business logic
|
||
|
|
return new CreateNewUserResponseDto();
|
||
|
|
}
|
||
|
|
}
|