Table of Contents

Class GetRaythaFunctionRevisionsByRaythaFunctionId.Handler

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

Parameters

request GetRaythaFunctionRevisionsByRaythaFunctionId.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<RaythaFunctionRevisionDto>>>

Response from the request