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