Class GetViews.Handler
- Namespace
- Raytha.Application.Views.Queries
- Assembly
- Raytha.Application.dll
public class GetViews.Handler : IRequestHandler<GetViews.Query, IQueryResponseDto<ListResultDto<ViewDto>>>- Inheritance
- 
      
      GetViews.Handler
- Implements
- Inherited Members
Constructors
Handler(IRaythaDbContext)
public Handler(IRaythaDbContext db)Parameters
Methods
Handle(Query, CancellationToken)
Handles a request
public Task<IQueryResponseDto<ListResultDto<ViewDto>>> Handle(GetViews.Query request, CancellationToken cancellationToken)Parameters
- requestGetViews.Query
- The request 
- cancellationTokenCancellationToken
- Cancellation token 
Returns
- Task<IQueryResponseDto<ListResultDto<ViewDto>>>
- Response from the request