示例#1
0
        public IActionResult Update(string id, Brewery breweryIn)
        {
            var brewery = _breweryService.Get(id);

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

            _breweryService.Update(id, breweryIn);

            return(NoContent());
        }