Table of Contents

Class GetThemes.Handler

Namespace
Raytha.Application.Themes.Queries
Assembly
Raytha.Application.dll
public class GetThemes.Handler : IRequestHandler<GetThemes.Query, IQueryResponseDto<ListResultDto<ThemeDto>>>
Inheritance
GetThemes.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<ListResultDto<ThemeDto>>> Handle(GetThemes.Query request, CancellationToken cancellationToken)

Parameters

request GetThemes.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<ThemeDto>>>

Response from the request