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