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