public IEnumerable <Measurement> GetMeasurByTime(DateTime time)
 {
     return(_measurementRepository.GetMeasurByTime(time));;
 }