Table of Contents

Class GetWebTemplatesAsListItems.Handler

Namespace
Raytha.Application.Themes.WebTemplates.Queries
Assembly
Raytha.Application.dll
public class GetWebTemplatesAsListItems.Handler : IRequestHandler<GetWebTemplatesAsListItems.Query, IQueryResponseDto<ListResultDto<WebTemplateListItemDto>>>
Inheritance
GetWebTemplatesAsListItems.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<WebTemplateListItemDto>>> Handle(GetWebTemplatesAsListItems.Query request, CancellationToken cancellationToken)

Parameters

request GetWebTemplatesAsListItems.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<WebTemplateListItemDto>>>

Response from the request