Table of Contents

Class EditContentType.Handler

Namespace
Raytha.Application.ContentTypes.Commands
Assembly
Raytha.Application.dll
public class EditContentType.Handler : IRequestHandler<EditContentType.Command, CommandResponseDto<ShortGuid>>
Inheritance
EditContentType.Handler
Implements
IRequestHandler<EditContentType.Command, CommandResponseDto<ShortGuid>>
Inherited Members

Constructors

Handler(IRaythaDbContext)

public Handler(IRaythaDbContext db)

Parameters

db IRaythaDbContext

Methods

Handle(Command, CancellationToken)

Handles a request

public Task<CommandResponseDto<ShortGuid>> Handle(EditContentType.Command request, CancellationToken cancellationToken)

Parameters

request EditContentType.Command

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<CommandResponseDto<ShortGuid>>

Response from the request