Пример #1
0
        public IActionResult Update(string id, Thread threadIn)
        {
            var thread = _threadService.Get(id);

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

            _threadService.Update(id, threadIn);

            return(NoContent());
        }