Example #1
0
 public AdminController(CounterApiRepo c, CounterApiService cs,
                        CounterTypeRepo ct, CounterTypeService cts)
 {
     _cRepo     = c;
     _cService  = cs;
     _ctRepo    = ct;
     _ctService = cts;
 }
Example #2
0
 public QueueController(TransactionApiService transService,
                        TransactionApiRepo transactionRepo,
                        DeviceApiService devService,
                        DeviceApiRepo devRepo,
                        CounterApiRepo counterRepo,
                        IHubContext <QueueHub, IQueHub> hubContext)
 {
     _transService    = transService;
     _transactionRepo = transactionRepo;
     _devService      = devService;
     _devRepo         = devRepo;
     _counterRepo     = counterRepo;
     _hubContext      = hubContext;
 }