public IActionResult AddToWishlist(int id, [FromBody] int beerId) { var user = _userServices.GetUser(id); _userServices.AddToWishlist(id, beerId); return(Ok(user)); }
public IActionResult AddToWishlist(int id, [FromBody] int beerId) { var user = _userServices.GetUser(id); _userServices.AddToWishlist(id, beerId); return(Ok(user)); }