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