Table of Contents

Class GetContentTypeFields.Handler

Namespace
Raytha.Application.ContentTypes.Queries
Assembly
Raytha.Application.dll
public class GetContentTypeFields.Handler : IRequestHandler<GetContentTypeFields.Query, IQueryResponseDto<ListResultDto<ContentTypeFieldDto>>>
Inheritance
GetContentTypeFields.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<ContentTypeFieldDto>>> Handle(GetContentTypeFields.Query request, CancellationToken cancellationToken)

Parameters

request GetContentTypeFields.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ListResultDto<ContentTypeFieldDto>>>

Response from the request