Table of Contents

Class DeleteNavigationMenuItem.Handler

Namespace
Raytha.Application.NavigationMenuItems.Commands
Assembly
Raytha.Application.dll
public class DeleteNavigationMenuItem.Handler : IRequestHandler<DeleteNavigationMenuItem.Command, CommandResponseDto<ShortGuid>>
Inheritance
DeleteNavigationMenuItem.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext, IMediator)

public Handler(IRaythaDbContext db, IMediator mediator)

Parameters

db IRaythaDbContext
mediator IMediator

Methods

Handle(Command, CancellationToken)

Handles a request

public Task<CommandResponseDto<ShortGuid>> Handle(DeleteNavigationMenuItem.Command request, CancellationToken cancellationToken)

Parameters

request DeleteNavigationMenuItem.Command

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<CommandResponseDto<ShortGuid>>

Response from the request