Table of Contents

Class GetRaythaFunctions.Handler

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

Parameters

request GetRaythaFunctions.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<RaythaFunctionDto>>>

Response from the request