public async Task <ActionResult> Post([FromBody] Measurement measurement, int id)
        {
            if (measurement == null)
            {
                throw new NullReferenceException("measurement not found");
            }
            try
            {
                var entity = await _measurementService.Post(measurement);

                return(Ok(entity));
            }
            catch
            {
                throw new NullReferenceException("measurement Registration Failed");
            }
        }