Ejemplo n.º 1
0
        public async Task <IEnumerable <MeasurementDto> > GetByDate(DateTime start, DateTime stop)
        {
            var measurements = await _iMeasurementRepository.GetByDate(start, stop);

            return(MeasurementMapper.MeasurementDtosMapper(measurements));
        }
Ejemplo n.º 2
0
        public async Task <IEnumerable <MeasurementDto> > GetAll(long id)
        {
            var measurements = await _iMeasurementRepository.GetAll(id);

            return(MeasurementMapper.MeasurementDtosMapper(measurements));
        }