Table of Contents

Class GetUserGroups.Handler

Namespace
Raytha.Application.UserGroups.Queries
Assembly
Raytha.Application.dll
public class GetUserGroups.Handler : IRequestHandler<GetUserGroups.Query, IQueryResponseDto<ListResultDto<UserGroupDto>>>
Inheritance
GetUserGroups.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<ListResultDto<UserGroupDto>>> Handle(GetUserGroups.Query request, CancellationToken cancellationToken)

Parameters

request GetUserGroups.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<UserGroupDto>>>

Response from the request