public InvoiceRepository(ILog log)
 {
     m_Log    = log;
     context  = new DapperContext();
     m_Detail = new InvoiceDetailRepository(log);
 }
 public InvoiceRepository()
 {
     context  = new DapperContext();
     m_Detail = new InvoiceDetailRepository();
 }