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