Esempio n. 1
0
        public ActionResult <Account> AddAccount(Account addedAccount)
        {
            Account account = accountDAO.AddAccount(addedAccount);

            if (account != null)
            {
                return(Ok(account));
            }
            else
            {
                return(NotFound());
            }
        }