public IHttpActionResult UpdateCard(UserSubscriptionUpdateStripeRequest model) { try { _chargeService.UpdateCustomerCard(model); return(Ok(new SuccessResponse())); } catch (Exception ex) { _appLogService.Insert(new AppLogAddRequest { AppLogTypeId = 1, Message = ex.Message, StackTrace = ex.StackTrace, Title = "Error in " + GetType().Name + " " + System.Reflection.MethodBase.GetCurrentMethod().Name, UserBaseId = _currentUserId }); return(BadRequest(ex.Message)); } }