public ModifierViewModel(ApplicationDbContext _dbContext)
        {
            Modifiers     = new ModifierModel();
            AbilitiesInfo = new string[6];

            AbilitiesInfo[0] = _dbContext.AbilityInfo.Where(x => x.Ability == "Strength").FirstOrDefault().Info;
            AbilitiesInfo[1] = _dbContext.AbilityInfo.Where(x => x.Ability == "Dexterity").FirstOrDefault().Info;
            AbilitiesInfo[2] = _dbContext.AbilityInfo.Where(x => x.Ability == "Constitution").FirstOrDefault().Info;
            AbilitiesInfo[3] = _dbContext.AbilityInfo.Where(x => x.Ability == "Wisdom").FirstOrDefault().Info;
            AbilitiesInfo[4] = _dbContext.AbilityInfo.Where(x => x.Ability == "Intelligence").FirstOrDefault().Info;
            AbilitiesInfo[5] = _dbContext.AbilityInfo.Where(x => x.Ability == "Charisma").FirstOrDefault().Info;
        }
 public PlayerViewModel()
 {
     Player    = new PlayerModel();
     Rolls     = new RollModel();
     Modifiers = new ModifierModel();
 }
 public ModifierViewModel()
 {
     Modifiers     = new ModifierModel();
     AbilitiesInfo = new string[6];
 }