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
- Inherited Members
Constructors
Handler(IRaythaDbContext)
public Handler(IRaythaDbContext db)
Parameters
Methods
Handle(Command, CancellationToken)
Handles a request
public Task<ICommandResponseDto<ShortGuid>> Handle(EditView.Command request, CancellationToken cancellationToken)
Parameters
request
EditView.CommandThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<ICommandResponseDto<ShortGuid>>
Response from the request