public async Task <CharacterStatChoice> UdateCharacterStatChoice(CharacterStatChoice characterStatChoice)
        {
            var csc = _context.CharacterStatChoices.Find(characterStatChoice.CharacterStatChoiceId);

            if (csc == null)
            {
                return(characterStatChoice);
            }

            csc.StatChoiceValue = characterStatChoice.StatChoiceValue;
            try
            {
                _context.SaveChanges();
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(csc);
            // return await _repo.Update(characterStatChoice);
        }
 public async Task <CharacterStatChoice> InsertCharacterStatChoice(CharacterStatChoice characterStatChoice)
 {
     return(await _repo.Add(characterStatChoice));
 }