Order.API project Mediator error solved.

This commit is contained in:
Onurkan Bakırcı 2022-04-08 16:04:17 +03:00 committed by GitHub
parent 4458a096c9
commit 47b88e84a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.Behaviors;
public class ValidatorBehavior<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>
: where TRequest : IRequest<TResponse>
{
private readonly ILogger<ValidatorBehavior<TRequest, TResponse>> _logger;
private readonly IEnumerable<IValidator<TRequest>> _validators;