Table of Contents

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
IRequestHandler<SetAsActiveTheme.Command, CommandResponseDto<ShortGuid>>
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.Command

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<CommandResponseDto<ShortGuid>>

Response from the request