Table of Contents

Class GetEmailTemplateRevisionsByTemplateId.Handler

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

Parameters

request GetEmailTemplateRevisionsByTemplateId.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<EmailTemplateRevisionDto>>>

Response from the request