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