Table of Contents

Class ExportTheme.Handler

Namespace
Raytha.Application.Themes.Commands
Assembly
Raytha.Application.dll
public class ExportTheme.Handler : IRequestHandler<ExportTheme.Command, CommandResponseDto<ThemeJson>>
Inheritance
ExportTheme.Handler
Implements
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<ThemeJson>> Handle(ExportTheme.Command request, CancellationToken cancellationToken)

Parameters

request ExportTheme.Command

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<CommandResponseDto<ThemeJson>>

Response from the request