public PaymentTransactionRepository(
     ISimpleUnitOfWork unitOfWork,
     PaymentTransaction.Factory paymentTransactionFactory)
     : base(unitOfWork)
 {
     _paymentTransactionFactory = paymentTransactionFactory;
 }
 public void Save(PaymentTransaction paymentTransaction)
 {
     Save(paymentTransaction.Authorization);
     Save(paymentTransaction.Capture);
 }