Exemple #1
0
        public WorkersService(List <Worker> workers, ICashiersService cashiersService)
        {
            Workers          = workers;
            _cashiersService = cashiersService;

            // Initiates the check-ins/outs of every worker
            Workers.ForEach(worker =>
            {
                CheckIns[worker]  = null;
                CheckOuts[worker] = null;
            });
        }
Exemple #2
0
 public CashiersOpeningDateOption(ICashiersService cashiersService)
 {
     _cashiersService = cashiersService;
 }
Exemple #3
0
 public CashiersRegistersOption(ICashiersService cashiersService)
 {
     _cashiersService = cashiersService;
 }