Ejemplo n.º 1
0
        public IActionResult GetTransaction(int id)
        {
            var trans = _repo.GetTransactionWithReceiverAndSender(id);

            if (trans == null)
            {
                return(NotFound("Bad Request"));
            }
            return(Ok(trans));
        }