Table of Contents

Class EditView.Handler

Namespace
Raytha.Application.Views.Commands
Assembly
Raytha.Application.dll
public class EditView.Handler : IRequestHandler<EditView.Command, ICommandResponseDto<ShortGuid>>
Inheritance
EditView.Handler
Implements
IRequestHandler<EditView.Command, ICommandResponseDto<ShortGuid>>
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Command, CancellationToken)

Handles a request

public Task<ICommandResponseDto<ShortGuid>> Handle(EditView.Command request, CancellationToken cancellationToken)

Parameters

request EditView.Command

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<ICommandResponseDto<ShortGuid>>

Response from the request