public IActionResult CardControl(int customerId) { var result = _creditCardService.CardControl(customerId); if (result.Success) { return(Ok(result)); } return(BadRequest(result)); }