Exemple #1
0
        public async Task <IList <GetMeasurement> > GetMeasurementForPeriodAsync(int clientId, DateTime startDate, DateTime endDate)
        {
            var measurementEntities = await _measurementRepository.GetForPeriodAsync(clientId, startDate, endDate);

            return(_mapper.Map <IList <GetMeasurement> >(measurementEntities));
        }