public ResponseModel <BasketModel> UpdateBasketSubscriptionInfo(Guid basketId, Guid productId, SubscriptionUserSetting userSetting) { ResetSessionBasket(); return(CallApi <BasketModel>(string.Format(ApiUrls.UpdateBasketSubscriptionInfo, basketId, productId), JsonConvert.SerializeObject(userSetting), Method.POST)); }
public JsonResult UpdateBasketSubscriptionInfo(Guid basketId, Guid productId, SubscriptionUserSetting userSetting) { var result = _basketApi.UpdateBasketSubscriptionInfo(basketId, productId, userSetting); return(JsonSuccess(result, JsonRequestBehavior.DenyGet)); }