Owneat Technical Guide main Help

Class GetFormulaSectionByIdQueryHandler

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

public sealed class GetFormulaSectionByIdQueryHandler : IRequestHandler<GetFormulaSectionByIdQuery, Result<FormulaSection>>

Inheritance

object ← GetFormulaSectionByIdQueryHandler

Implements

IRequestHandler<GetFormulaSectionByIdQuery, Result<FormulaSection\>\>

Inherited Members

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

Constructors

GetFormulaSectionByIdQueryHandler\(IFormulaSectionRepository\)

public GetFormulaSectionByIdQueryHandler(IFormulaSectionRepository formulaSectionRepository)

Parameters

formulaSectionRepository IFormulaSectionRepository

Methods

Handle\(GetFormulaSectionByIdQuery, CancellationToken\)

Handles a request

public Task<Result<FormulaSection>> Handle(GetFormulaSectionByIdQuery request, CancellationToken cancellationToken)

Parameters

request GetFormulaSectionByIdQuery

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task <Result<FormulaSection\>\>

Response from the request

Last modified: 21 May 2024