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
Methods
Handle(Query, CancellationToken)
Handles a request
public Task<IQueryResponseDto<ListResultDto<UserGroupDto>>> Handle(GetUserGroups.Query request, CancellationToken cancellationToken)
Parameters
request
GetUserGroups.QueryThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IQueryResponseDto<ListResultDto<UserGroupDto>>>
Response from the request