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