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