Ejemplo n.º 1
0
        public IActionResult GetAllByCustomerID(int id)
        {
            var result = _creditCardService.GetAllByCustomerID(id);

            if (result.Success)
            {
                return(Ok(result));
            }
            return(BadRequest(result));
        }