Table of Contents

Class GetNavigationMenuItemById.Handler

Namespace
Raytha.Application.NavigationMenuItems.Queries
Assembly
Raytha.Application.dll
public class GetNavigationMenuItemById.Handler : IRequestHandler<GetNavigationMenuItemById.Query, IQueryResponseDto<NavigationMenuItemDto>>
Inheritance
GetNavigationMenuItemById.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<NavigationMenuItemDto>> Handle(GetNavigationMenuItemById.Query request, CancellationToken cancellationToken)

Parameters

request GetNavigationMenuItemById.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<NavigationMenuItemDto>>

Response from the request