Class ReorderTablesCommandHandler
Namespace: Ordering.Application.Requests.Handlers.Table
Assembly: Ordering.Application.dll
public sealed class ReorderTablesCommandHandler : IRequestHandler<ReorderTablesCommand, Result<Unit>>
Inheritance
object ← ReorderTablesCommandHandler
Implements
IRequestHandler<ReorderTablesCommand, Result<Unit\>\>
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
ReorderTablesCommandHandler\(ITableRepository, IUnitOfWork\)
public ReorderTablesCommandHandler(ITableRepository tableRepository, IUnitOfWork unitOfWork)
Parameters
tableRepository ITableRepository
unitOfWork IUnitOfWork
Methods
Handle\(ReorderTablesCommand, CancellationToken\)
Handles a request
public Task<Result<Unit>> Handle(ReorderTablesCommand command, CancellationToken cancellationToken)
Parameters
command ReorderTablesCommand
cancellationToken CancellationToken
Cancellation token
Returns
Task <Result<Unit\>\>
Response from the request
Last modified: 21 May 2024