Table of Contents

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
IRequestHandler<EditTheme.Command, CommandResponseDto<ShortGuid>>
Inherited Members

Constructors

Handler(IRaythaDbContext, IMediator)

public Handler(IRaythaDbContext db, IMediator mediator)

Parameters

db IRaythaDbContext
mediator IMediator

Methods

Handle(Command, CancellationToken)

Handles a request

public Task<CommandResponseDto<ShortGuid>> Handle(EditTheme.Command request, CancellationToken cancellationToken)

Parameters

request EditTheme.Command

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<CommandResponseDto<ShortGuid>>

Response from the request