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