Owneat Technical Guide main Help

Class RenewRestaurantAccountLinkCommandHandler

Namespace: Restaurant.Application.Requests.Restaurant
Assembly: Restaurant.Application.dll

public sealed class RenewRestaurantAccountLinkCommandHandler : IRequestHandler<RenewRestaurantAccountLinkCommand, Result<RestaurantAccountResponse>>

Inheritance

object ← RenewRestaurantAccountLinkCommandHandler

Implements

IRequestHandler<RenewRestaurantAccountLinkCommand, Result<RestaurantAccountResponse\>\>

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Constructors

RenewRestaurantAccountLinkCommandHandler\(IRestaurantRepository, IAuthorizationService, IHttpContextAccessor, IUnitOfWork, IBillingPlatformAccountService\)

public RenewRestaurantAccountLinkCommandHandler(IRestaurantRepository restaurantRepository, IAuthorizationService authorizationService, IHttpContextAccessor httpContextAccessor, IUnitOfWork unitOfWork, IBillingPlatformAccountService billingPlatformAccountService)

Parameters

restaurantRepository IRestaurantRepository

authorizationService IAuthorizationService

httpContextAccessor IHttpContextAccessor

unitOfWork IUnitOfWork

billingPlatformAccountService IBillingPlatformAccountService

Methods

Handle\(RenewRestaurantAccountLinkCommand, CancellationToken\)

Handles a request

public Task<Result<RestaurantAccountResponse>> Handle(RenewRestaurantAccountLinkCommand command, CancellationToken cancellationToken)

Parameters

command RenewRestaurantAccountLinkCommand

cancellationToken CancellationToken

Cancellation token

Returns

Task <Result< RestaurantAccountResponse \>\>

Response from the request

Last modified: 21 May 2024