Class LinkRestaurantToBillingPlatformCommandHandler
Namespace: Restaurant.Application.Requests.Restaurant
Assembly: Restaurant.Application.dll
Inheritance
object ← LinkRestaurantToBillingPlatformCommandHandler
Implements
IRequestHandler<LinkRestaurantToBillingPlatformCommand, Result<RestaurantAccountResponse\>\>
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
LinkRestaurantToBillingPlatformCommandHandler
Parameters
restaurantRepository IRestaurantRepository
authorizationService IAuthorizationService
httpContextAccessor IHttpContextAccessor
unitOfWork IUnitOfWork
billingPlatformAccountService IBillingPlatformAccountService
Methods
Handle\(LinkRestaurantToBillingPlatformCommand, CancellationToken\)
Handles a request
Parameters
command LinkRestaurantToBillingPlatformCommand
cancellationToken CancellationToken
Cancellation token
Returns
Task <Result< RestaurantAccountResponse \>\>
Response from the request