Table of Contents

Class GetMainMenu.Handler

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

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<NavigationMenuDto>> Handle(GetMainMenu.Query request, CancellationToken cancellationToken)

Parameters

request GetMainMenu.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<NavigationMenuDto>>

Response from the request