private SensoriaApiResult <ClosetItem> EditShoeDetails(ClosetItem shoeClosetItem) { ApiResultHttpClientHelper <ClosetItem> client = new ApiResultHttpClientHelper <ClosetItem>(); client.Url = String.Format("closet/shoes/{0}", shoeClosetItem.Id); client.AccessToken = accessToken; client.BaseAddress = clo.apiUrl; return(client.PutSensoriaApiResult(shoeClosetItem)); }
private SensoriaApiResult <ClosetItem> RetireShoe(ClosetItem shoeClosetItem) { ApiResultHttpClientHelper <ClosetItem> client = new ApiResultHttpClientHelper <ClosetItem>(); client.Url = String.Format("closet/shoes/{0}?action=retire", shoeClosetItem.Id); client.AccessToken = accessToken; client.BaseAddress = clo.apiUrl; return(client.PutSensoriaApiResult(null)); }