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