Beispiel #1
0
        public IActionResult Create(Procedimento e)
        {
            if (!ModelState.IsValid)
            {
                return(View(e));
            }
            using (var data = new ProcedimentoData())
                data.Create(e);

            return(RedirectToAction("Index"));
        }