Class BeginMatchWebTemplates.Handler
- Namespace
- Raytha.Application.Themes.Commands
- Assembly
- Raytha.Application.dll
public class BeginMatchWebTemplates.Handler : IRequestHandler<BeginMatchWebTemplates.Command, CommandResponseDto<ShortGuid>>
- Inheritance
-
BeginMatchWebTemplates.Handler
- Implements
- Inherited Members
Constructors
Handler(IBackgroundTaskQueue)
public Handler(IBackgroundTaskQueue taskQueue)
Parameters
taskQueue
IBackgroundTaskQueue
Methods
Handle(Command, CancellationToken)
Handles a request
public Task<CommandResponseDto<ShortGuid>> Handle(BeginMatchWebTemplates.Command request, CancellationToken cancellationToken)
Parameters
request
BeginMatchWebTemplates.CommandThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<CommandResponseDto<ShortGuid>>
Response from the request