Table of Contents

Class EditNavigationMenuItem.Handler

Namespace
Raytha.Application.NavigationMenuItems.Commands
Assembly
Raytha.Application.dll
public class EditNavigationMenuItem.Handler : IRequestHandler<EditNavigationMenuItem.Command, CommandResponseDto<ShortGuid>>
Inheritance
EditNavigationMenuItem.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(EditNavigationMenuItem.Command request, CancellationToken cancellationToken)

Parameters

request EditNavigationMenuItem.Command

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<CommandResponseDto<ShortGuid>>

Response from the request