Ejemplo n.º 1
0
 protected BaseController(ILogService LogService = null, IMapper mapper = null, IHubContext <ChartHub> chartHubContext = null, IRoomService roomService = null, IDeviceService deviceService = null, ICommunicationUnitService communicationUnitService = null)
 {
     _mapper                   = mapper;
     _LogService               = LogService;
     _chartHubContext          = chartHubContext;
     _roomService              = roomService;
     _deviceService            = deviceService;
     _communicationUnitService = communicationUnitService;
     _hub = new ChartHub(_roomService, _mapper, _chartHubContext, deviceService);
 }
Ejemplo n.º 2
0
 public ApiLogController(ILogService LogService, IMapper mapper, IHubContext <ChartHub> chartHubContext, IRoomService roomService, IDeviceService deviceService, ICommunicationUnitService communicationUnitService) : base(LogService, mapper, chartHubContext, roomService, deviceService, communicationUnitService)
 {
 }