public async Task <IActionResult> GetAll(long id) { try { var measurements = await _measurementService.GetAll(id); return(Ok(measurements)); } catch (NullReferenceException e) { return(NotFound($"Can't found measurements")); } }
public async Task <IActionResult> GetAll(long id) { try { var measurements = await _measurementService.GetAll(id); return(Ok(measurements)); } catch (NullReferenceException e) { return(NotFound($"Can't found measurements")); } }