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