Ejemplo n.º 1
0
        public IActionResult Create(PartyCreateVM playerVM)
        {
            if (!ModelState.IsValid)
            {
                return(View(playerVM));
            }

            service.AddPlayer(playerVM);

            return(RedirectToAction(nameof(Summary)));
        }