Order.API project Mediator error solved.
This commit is contained in:
parent
4458a096c9
commit
47b88e84a5
@ -1,6 +1,7 @@
|
|||||||
namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.Behaviors;
|
namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.Behaviors;
|
||||||
|
|
||||||
public class ValidatorBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
|
public class ValidatorBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
|
||||||
|
: where TRequest : IRequest<TResponse>
|
||||||
{
|
{
|
||||||
private readonly ILogger<ValidatorBehavior<TRequest, TResponse>> _logger;
|
private readonly ILogger<ValidatorBehavior<TRequest, TResponse>> _logger;
|
||||||
private readonly IEnumerable<IValidator<TRequest>> _validators;
|
private readonly IEnumerable<IValidator<TRequest>> _validators;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user