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
Methods
Handle(Query, CancellationToken)
Handles a request
public Task<IQueryResponseDto<ListResultDto<RaythaFunctionRevisionDto>>> Handle(GetRaythaFunctionRevisionsByRaythaFunctionId.Query request, CancellationToken cancellationToken)
Parameters
request
GetRaythaFunctionRevisionsByRaythaFunctionId.QueryThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IQueryResponseDto<ListResultDto<RaythaFunctionRevisionDto>>>
Response from the request