Table of Contents

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
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<ListResultDto<DeletedContentItemDto>>> Handle(GetDeletedContentItems.Query request, CancellationToken cancellationToken)

Parameters

request GetDeletedContentItems.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<DeletedContentItemDto>>>

Response from the request