public IEnumerable <Sensorvalues> GetAll() { return(_sensorsRepository.GetAll()); }
public Sensor[] GetSensorsForUser(Guid id) => _sensorsRepository.GetAll().Where(s => s.UserId == id).ToArray();