Esempio n. 1
0
 public TicketService(IMapper mapper,
                      IUnitOfWork unitOfWork,
                      ITicketRepository ticketRepository,
                      ICustomerRepository customerRepository,
                      IStationRepository stationRepository,
                      IRouteTicketRepository routeTicketRepository,
                      ICustomerDeviceRepository customerDeviceRepository,
                      IOneSignalService oneSignalService,
                      UserManager <User> userManager,
                      IAdminDeviceRepository adminDeviceRepository,
                      INotificationService notificationService
                      )
 {
     _mapper                = mapper;
     _unitOfWork            = unitOfWork;
     _ticketRepository      = ticketRepository;
     _customerRepository    = customerRepository;
     _stationRepository     = stationRepository;
     _routeTicketRepository = routeTicketRepository;
     _oneSignalService      = oneSignalService;
     _userManager           = userManager;
     _adminDeviceRepository = adminDeviceRepository;
     _notificationService   = notificationService;
 }
Esempio n. 2
0
 public AdminDeviceService(IUnitOfWork unitOfWork, IAdminDeviceRepository adminDeviceRepository)
 {
     _unitOfWork            = unitOfWork;
     _adminDeviceRepository = adminDeviceRepository;
 }