Table of Contents

Class GetUserForAuthenticationById.Handler

Namespace
Raytha.Application.Login.Queries
Assembly
Raytha.Application.dll
public class GetUserForAuthenticationById.Handler : IRequestHandler<GetUserForAuthenticationById.Query, IQueryResponseDto<LoginDto>>
Inheritance
GetUserForAuthenticationById.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<LoginDto>> Handle(GetUserForAuthenticationById.Query request, CancellationToken cancellationToken)

Parameters

request GetUserForAuthenticationById.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<LoginDto>>

Response from the request