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
Methods
Handle(Query, CancellationToken)
Handles a request
public Task<IQueryResponseDto<NavigationMenuDto>> Handle(GetMainMenu.Query request, CancellationToken cancellationToken)
Parameters
request
GetMainMenu.QueryThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IQueryResponseDto<NavigationMenuDto>>
Response from the request