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