Exemplo n.º 1
0
        public IActionResult GetAll()
        {
            var result = _creditCardService.GetAllCard();

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