Esempio n. 1
0
 public EmailInvoiceCommand(
     IDatabase database,
     IInvoiceEmailer emailer)
 {
     _database = database;
     _emailer  = emailer;
 }
 public PrintOrEmailInvoiceCommand(
     IDatabase database,
     ISecurity security,
     IInvoiceEmailer emailer,
     IInvoiceWriter writer)
 {
     _database = database;
     _security = security;
     _emailer  = emailer;
     _writer   = writer;
 }