Table of Contents

Class GetWebTemplateByDeveloperName.Handler

Namespace
Raytha.Application.Themes.WebTemplates.Queries
Assembly
Raytha.Application.dll
public class GetWebTemplateByDeveloperName.Handler : IRequestHandler<GetWebTemplateByDeveloperName.Query, IQueryResponseDto<WebTemplateDto>>
Inheritance
GetWebTemplateByDeveloperName.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<WebTemplateDto>> Handle(GetWebTemplateByDeveloperName.Query request, CancellationToken cancellationToken)

Parameters

request GetWebTemplateByDeveloperName.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<WebTemplateDto>>

Response from the request