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