public IHttpActionResult Put([FromBody] ShoppingListItem item, Guid familyId, Guid ItemId)
        {
            if (IsDefault(item))
            {
                return(BadRequest());
            }
            //TODO: authenticate whether use has access to family shopping list
            if (item.Id != default(Guid) && item.Id != ItemId)
            {
                return(BadRequest("Id provided in item is not the same as the one provided in the url."));
            }

            item.Id = ItemId;
            if (_shopService.GetShoppingListItemDetailsById(familyId, ItemId) == null)
            {
                return(NotFound());
            }

            _shopService.AlterShoppingListItemDetails(familyId, item);

            return(Ok(_shopService.GetShoppingListItemDetailsById(familyId, ItemId)));
        }