Table of Contents

Class GetNavigationMenus.Handler

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

Parameters

request GetNavigationMenus.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<NavigationMenuDto>>>

Response from the request