public IHttpActionResult GetAllCustomerCards(UserSubscriptionUpdateStripeRequest model) { try { StripeList <StripeCard> response = new StripeList <StripeCard>(); response = _chargeService.ListAllCards(model); return(Ok(response)); } 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)); } }