public IActionResult Update(string id, Brewery breweryIn) { var brewery = _breweryService.Get(id); if (brewery == null) { return(NotFound()); } _breweryService.Update(id, breweryIn); return(NoContent()); }
public IActionResult Update(string id, Brewery breweryIn) { var brewery = _breweryService.Get(id); if (brewery == null) { return(NotFound()); } _breweryService.Update(id, breweryIn); return(NoContent()); }