Table of Contents

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

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<ListResultDto<ViewDto>>> Handle(GetViews.Query request, CancellationToken cancellationToken)

Parameters

request GetViews.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<ViewDto>>>

Response from the request