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