public void Save(Invoice invoice)
 {
     UnitOfWork.Session.SaveOrUpdate(invoice.Charge);
 }
 public InvoiceRepository(ISimpleUnitOfWork unitOfWork, Invoice.Factory invoiceFactory)
     : base(unitOfWork)
 {
     _invoiceFactory = invoiceFactory;
 }