Exemplo n.º 1
0
        public ActionResult <TypeAccount> AddAccountType(TypeAccount addedAccount)
        {
            TypeAccount account = accountDAO.AddAccountType(addedAccount);

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