public ActionResult <Account> AddAccount(Account addedAccount) { Account account = accountDAO.AddAccount(addedAccount); if (account != null) { return(Ok(account)); } else { return(NotFound()); } }