Ejemplo n.º 1
0
 public DevicesController(ISmartLampService smartLampService, IMapper mapper, IMotionSensorService motionSensorService, IAirConditionerService airConditionerService)
 {
     _smartLampService      = smartLampService;
     _mapper                = mapper;
     _airConditionerService = airConditionerService;
     _motionSensorService   = motionSensorService;
 }
 public MotionSensorsController(IMotionSensorService motionSensorService, IMapper mapper)
 {
     _motionSensorService = motionSensorService;
     _mapper = mapper;
 }