public int UpdateBeer([FromBody] BeerViewmodel beer) { return(_beerManager.Update(_beerMapperProfile.ReverseMap(beer))); }
public void Put(int id, [FromBody] Beer value) { _manager.Update(id, value); }
public Beer Put(int id, [FromBody] Beer value) { return(_beerManager.Update(id, value)); }