Table of Contents

Class GetNavigationMenuItemsByNavigationMenuDeveloperName.Handler

Namespace
Raytha.Application.NavigationMenuItems.Queries
Assembly
Raytha.Application.dll
public class GetNavigationMenuItemsByNavigationMenuDeveloperName.Handler : IRequestHandler<GetNavigationMenuItemsByNavigationMenuDeveloperName.Query, IQueryResponseDto<IReadOnlyCollection<NavigationMenuItemDto>>>
Inheritance
GetNavigationMenuItemsByNavigationMenuDeveloperName.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<NavigationMenuItemDto>>> Handle(GetNavigationMenuItemsByNavigationMenuDeveloperName.Query request, CancellationToken cancellationToken)

Parameters

request GetNavigationMenuItemsByNavigationMenuDeveloperName.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<IReadOnlyCollection<NavigationMenuItemDto>>>

Response from the request