예제 #1
0
        public IActionResult Update(string id, TempItem tempIn)
        {
            var temp = _tempService.Get(id);

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

            _tempService.Update(id, tempIn);

            return(NoContent());
        }