Class BeginDuplicateTheme.Handler
- Namespace
- Raytha.Application.Themes.Commands
- Assembly
- Raytha.Application.dll
public class BeginDuplicateTheme.Handler : IRequestHandler<BeginDuplicateTheme.Command, CommandResponseDto<ShortGuid>>
- Inheritance
-
BeginDuplicateTheme.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(BeginDuplicateTheme.Command request, CancellationToken cancellationToken)
Parameters
request
BeginDuplicateTheme.CommandThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<CommandResponseDto<ShortGuid>>
Response from the request