public IActionResult CreditCardExists(string cardNumber) { var result = _creditCardService.CreditCardExists(cardNumber); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }