示例#1
0
        public IActionResult Delete(string id)
        {
            var Measurement = _measurementService.Get(id);

            if (Measurement == null)
            {
                return(NotFound());
            }

            _measurementService.Remove(Measurement.ID);

            return(NoContent());
        }