예제 #1
0
 public PayrollPresenter(PayrollDatabase database, ViewLoader viewLoader)
 {
     this.database   = database;
     this.viewLoader = viewLoader;
     TransactionContainer.AddAction addAction =
         new TransactionContainer.AddAction(TransactionAdded);
     transactionContainer = new TransactionContainer(addAction);
 }
예제 #2
0
 public AddEmployeePresenter(AddEmployeeView view,
                             TransactionContainer container,
                             PayrollDatabase database)
 {
     this.view = view;
     this.transactionContainer = container;
     this.database             = database;
 }