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