public IActionResult Delete(int id)
        {
            var result = _creditCardService.DeleteCreditCardById(id);

            if (!result.IsSuccess)
            {
                return(BadRequest(result));
            }
            return(Ok(result));
        }