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