Esempio 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));
 }
Esempio n. 2
0
 public async Task <string> PostCoupon(Coupon c, Dictionary <string, string> parms = null)
 {
     return(await API.SendHttpClientRequest("coupons", RequestMethod.POST, c, parms));
 }