Exemplo n.º 1
0
        public ActionResult Create([Bind(Include = "idp,descp,endDate,nomp,startDate")] tp_jsf_project tp_jsf_project)
        {
            if (ModelState.IsValid)
            {
                ps.Add(tp_jsf_project);
                ps.Commit();
                return(RedirectToAction("Index"));
            }

            return(View(tp_jsf_project));
        }