Table of Contents

Class ChangeProfile.Handler

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

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Command, CancellationToken)

Handles a request

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

Parameters

request ChangeProfile.Command

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<CommandResponseDto<ShortGuid>>

Response from the request