Ejemplo n.º 1
0
 public async Task <string> UpdateCoupon(int couponid, Coupon c, Dictionary <string, string> parms = null)
 {
     return(await API.SendHttpClientRequest("coupons/" + couponid.ToString(), RequestMethod.PUT, c, parms).ConfigureAwait(false));
 }
Ejemplo n.º 2
0
 public async Task <string> PostCoupon(Coupon c, Dictionary <string, string> parms = null)
 {
     return(await API.SendHttpClientRequest("coupons", RequestMethod.POST, c, parms).ConfigureAwait(false));
 }