Table of Contents

Class GetFavoriteViewsForAdmin.Handler

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

Parameters

request GetFavoriteViewsForAdmin.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<ViewDto>>>

Response from the request