Esempio n. 1
0
        public ActionResult Edit(PlayerViewModel player)
        {
            if (ModelState.IsValid)
            {
                playerServices.UpdatePlayer(player);
                return(RedirectToAction("Index"));
            }

            return(View(player));
        }