Class DeleteTheme.Handler
- Namespace
- Raytha.Application.Themes.Commands
- Assembly
- Raytha.Application.dll
public class DeleteTheme.Handler : IRequestHandler<DeleteTheme.Command, CommandResponseDto<ShortGuid>>- Inheritance
- 
      
      DeleteTheme.Handler
- Implements
- Inherited Members
Constructors
Handler(IRaythaDbContext, IFileStorageProvider)
public Handler(IRaythaDbContext db, IFileStorageProvider fileStorageProvider)Parameters
- dbIRaythaDbContext
- fileStorageProviderIFileStorageProvider
Methods
Handle(Command, CancellationToken)
Handles a request
public Task<CommandResponseDto<ShortGuid>> Handle(DeleteTheme.Command request, CancellationToken cancellationToken)Parameters
- requestDeleteTheme.Command
- The request 
- cancellationTokenCancellationToken
- Cancellation token 
Returns
- Task<CommandResponseDto<ShortGuid>>
- Response from the request