public async Task <IActionResult> PostItems(int listId, [FromBody] Item item) { item.WishList.Id = listId; if (await _itemBusiness.InsertAsync(item) == false) { return(StatusCode(500, "Failed to Save entity")); } return(Created($"api/lists/{item.Id}", item)); }