Table of Contents

Class DeleteTheme.Handler

Namespace
Raytha.Application.Themes.Commands
Assembly
Raytha.Application.dll
public class DeleteTheme.Handler : IRequestHandler<DeleteTheme.Command, CommandResponseDto<ShortGuid>>
Inheritance
DeleteTheme.Handler
Implements
IRequestHandler<DeleteTheme.Command, CommandResponseDto<ShortGuid>>
Inherited Members

Constructors

Handler(IRaythaDbContext, IFileStorageProvider)

public Handler(IRaythaDbContext db, IFileStorageProvider fileStorageProvider)

Parameters

db IRaythaDbContext
fileStorageProvider IFileStorageProvider

Methods

Handle(Command, CancellationToken)

Handles a request

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

Parameters

request DeleteTheme.Command

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<CommandResponseDto<ShortGuid>>

Response from the request