public DiscountGrpcService(DiscountProtoServiceClient discountProtoService) { _discountProtoService = discountProtoService ?? throw new ArgumentNullException(nameof(discountProtoService)); }
public DiscountGrpcService(DiscountProtoServiceClient discountProtoService, ILogger <DiscountGrpcService> logger) { _discountProtoService = discountProtoService ?? throw new ArgumentNullException(nameof(discountProtoService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }