public virtual async Task <IHttpActionResult> RecurringCartRemovePaymentMethod(RecurringCartRemovePaymentMethodViewModel request) { await PaymentViewService.RemovePaymentMethodAsync(new RemovePaymentMethodParam { PaymentMethodId = request.PaymentMethodId, CustomerId = ComposerContext.CustomerId, PaymentProviderName = request.PaymentProviderName, ScopeId = ComposerContext.Scope, CartName = request.CartName }).ConfigureAwait(false); // Need to return at least a string otherwise jQuery ajax client // will fail since it's expected valid json and void is not valid return(Ok("OK")); }