Ejemplo n.º 1
0
        public ActionResult <double> GetBalance(int account_id)
        {
            var account = endpointHandler.GetAccount(account_id);

            if (account != null)
            {
                return(account.Balance);
            }

            return(NotFound(0));
        }