public IActionResult Add(CreditCard creditCard) { var result = _creditCardService.AddService(creditCard); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }