コード例 #1
0
        public async Task <OfferShareDiscount> UpdateAsync(OfferShareDiscount offerShareDiscount)
        {
            try
            {
                var content = await HttpHelper.Request(Constants.FACEOFFERS_AUTH_TOKEN, Constants.FACEOFFERS_API_URL, "api/OfferShareDiscounts", offerShareDiscount, HttpRequestType.PUT);

                return(await content.ReadAsAsync <OfferShareDiscount>());
            }
            catch (Exception e)
            {
                throw;
            }
        }
コード例 #2
0
 public async Task DeleteAsync(OfferShareDiscount offerShareDiscount)
 {
     throw new NotImplementedException();
 }