Ejemplo n.º 1
0
        //Call the CreateOrUpdate function then display details about the new entry
        public ActionResult ProcessCreate(AdminModel adminModel)
        {
            //save to database
            AdminDAO adminDAO = new AdminDAO();

            adminDAO.Create(adminModel);

            return(View("Details", adminModel));
        }