Ejemplo n.º 1
0
        public ActionResult Transfer(Transfer transfer)
        {
            int     userId      = transfer.AccountFrom;
            int     accountToId = transfer.AccountTo;
            decimal amount      = transfer.Amount;

            accountDAO.TransferToRegUser(userId, accountToId, amount);
            return(Ok());
        }