public IActionResult GetReadings(int userId) { var readings = _readingRepository.GetReadingsByUserId(userId); return(Ok(readings)); }
public IActionResult GetReadings(int userId) { var readings = _readingRepository.GetReadingsByUserId(userId); return(Ok(readings)); }