Table of Contents

Class GetLatestNavigationMenuRevisions.Handler

Namespace
Raytha.Application.NavigationMenus.Queries
Assembly
Raytha.Application.dll
public class GetLatestNavigationMenuRevisions.Handler : IRequestHandler<GetLatestNavigationMenuRevisions.Query, IQueryResponseDto<IReadOnlyCollection<NavigationMenuRevisionDto>>>
Inheritance
GetLatestNavigationMenuRevisions.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<IReadOnlyCollection<NavigationMenuRevisionDto>>> Handle(GetLatestNavigationMenuRevisions.Query request, CancellationToken cancellationToken)

Parameters

request GetLatestNavigationMenuRevisions.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<IReadOnlyCollection<NavigationMenuRevisionDto>>>

Response from the request