Class GetNavigationMenuByDeveloperName.Handler
- Namespace
- Raytha.Application.NavigationMenus.Queries
- Assembly
- Raytha.Application.dll
public class GetNavigationMenuByDeveloperName.Handler : IRequestHandler<GetNavigationMenuByDeveloperName.Query, IQueryResponseDto<NavigationMenuDto>>
- Inheritance
-
GetNavigationMenuByDeveloperName.Handler
- Implements
- Inherited Members
Constructors
Handler(IRaythaDbContext)
public Handler(IRaythaDbContext db)
Parameters
Methods
Handle(Query, CancellationToken)
Handles a request
public Task<IQueryResponseDto<NavigationMenuDto>> Handle(GetNavigationMenuByDeveloperName.Query request, CancellationToken cancellationToken)
Parameters
request
GetNavigationMenuByDeveloperName.QueryThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IQueryResponseDto<NavigationMenuDto>>
Response from the request