コード例 #1
0
        public async Task <IActionResult> Create([Bind("ID,make,model,gearGoal,gearMeso")] CharacterProgression characterProgression)
        {
            if (ModelState.IsValid)
            {
                _context.Add(characterProgression);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(characterProgression));
        }