Пример #1
0
 public IEnumerable <Sensorvalues> GetAll()
 {
     return(_sensorsRepository.GetAll());
 }
Пример #2
0
 public Sensor[] GetSensorsForUser(Guid id) => _sensorsRepository.GetAll().Where(s => s.UserId == id).ToArray();