Ejemplo n.º 1
0
 public CashierSelectionView(
     CashierRepository repository,
     RedirectToOperation redirectToOperation,
     Action finishApplication)
 {
     this.repository          = repository;
     this.redirectToOperation = redirectToOperation;
     this.finishApplication   = finishApplication;
 }
Ejemplo n.º 2
0
        private static ConsoleView CreateCashierSelectionView()
        {
            var repository = new CashierRepository();

            return(new CashierSelectionView(
                       repository,
                       RedirectViewToCashierOperations,
                       PopNavigation));
        }