Beispiel #1
0
        public ActionResult Create(Item item)
        {
            if (ModelState.IsValid)
            {
                _itemService.Alta(item);
                return(RedirectToAction("Index"));
            }

            return(View(item));
        }