public PayPalPaymentsController(IPayPalPaymentRepository payPalPaymentRepository,
                                 IPaymentDonationRepository paymentDonationRepository)
 {
     _payPalPaymentRepository   = payPalPaymentRepository;
     _paymentDonationRepository = paymentDonationRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PayPalPaymentService"/> class.
 /// </summary>
 /// <param name="paymentRepository">repository IPayPalPaymentRepository</param>
 /// <param name="defrayalRepository">repository IDefrayalRepository</param>
 /// <param name="cartService">service ICartService</param>
 public PayPalPaymentService(IPayPalPaymentRepository paymentRepository, IDefrayalRepository defrayalRepository, ICartService <ContentCartDto> cartService)
 {
     this.repositoryPayment  = paymentRepository;
     this.repositoryDefrayal = defrayalRepository;
     this.serviceCart        = cartService;
 }