Table of Contents

Class GetContentTypeFieldById.Handler

Namespace
Raytha.Application.ContentTypes.Queries
Assembly
Raytha.Application.dll
public class GetContentTypeFieldById.Handler : IRequestHandler<GetContentTypeFieldById.Query, IQueryResponseDto<ContentTypeFieldDto>>
Inheritance
GetContentTypeFieldById.Handler
Implements
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Query, CancellationToken)

Handles a request

public Task<IQueryResponseDto<ContentTypeFieldDto>> Handle(GetContentTypeFieldById.Query request, CancellationToken cancellationToken)

Parameters

request GetContentTypeFieldById.Query

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<IQueryResponseDto<ContentTypeFieldDto>>

Response from the request