Class RevertNavigationMenu.Handler
- Namespace
- Raytha.Application.NavigationMenus.Commands
- Assembly
- Raytha.Application.dll
public class RevertNavigationMenu.Handler : IRequestHandler<RevertNavigationMenu.Command, CommandResponseDto<ShortGuid>>
- Inheritance
-
RevertNavigationMenu.Handler
- Implements
- Inherited Members
Constructors
Handler(IRaythaDbContext, IMediator)
public Handler(IRaythaDbContext db, IMediator mediator)
Parameters
db
IRaythaDbContextmediator
IMediator
Methods
Handle(Command, CancellationToken)
Handles a request
public Task<CommandResponseDto<ShortGuid>> Handle(RevertNavigationMenu.Command request, CancellationToken cancellationToken)
Parameters
request
RevertNavigationMenu.CommandThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<CommandResponseDto<ShortGuid>>
Response from the request