Beispiel #1
0
        public ActionResult <Brewery> Create(Brewery brewery)
        {
            _breweryService.Create(brewery);

            return(CreatedAtRoute("GetBrewery", new { id = brewery.Id.ToString() }, brewery));
        }