Class GetDeletedContentItems.Handler
- Namespace
- Raytha.Application.ContentItems.Queries
- Assembly
- Raytha.Application.dll
public class GetDeletedContentItems.Handler : IRequestHandler<GetDeletedContentItems.Query, IQueryResponseDto<ListResultDto<DeletedContentItemDto>>>
- Inheritance
-
GetDeletedContentItems.Handler
- Implements
-
IRequestHandler<GetDeletedContentItems.Query, IQueryResponseDto<ListResultDto<DeletedContentItemDto>>>
- Inherited Members
Constructors
Handler(IRaythaDbContext)
public Handler(IRaythaDbContext db)
Parameters
Methods
Handle(Query, CancellationToken)
Handles a request
public Task<IQueryResponseDto<ListResultDto<DeletedContentItemDto>>> Handle(GetDeletedContentItems.Query request, CancellationToken cancellationToken)
Parameters
request
GetDeletedContentItems.QueryThe request
cancellationToken
CancellationTokenCancellation token
Returns
- Task<IQueryResponseDto<ListResultDto<DeletedContentItemDto>>>
Response from the request