public async Task <IActionResult> Edit(int id, [Bind("ID,make,model,gearGoal,gearMeso")] CharacterProgression characterProgression)
        {
            if (id != characterProgression.ID)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(characterProgression);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!CharacterProgressionExists(characterProgression.ID))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(characterProgression));
        }
        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));
        }