private Models.CharacterSheet.IndexViewModel PrepareIndexViewModel()
        {
            Mapper.CreateMap <Model.Attribute, SelectListItem>()
            .ForMember(dest => dest.Value, o => o.MapFrom(src => src.Id))
            .ForMember(dest => dest.Text, o => o.MapFrom(src => src.LongName));

            IEnumerable <CharacterViewModel> characterViewModels =
                _rules.GetCharacters().Select(PrepareCharacterViewModel).ToList();

            return(new Models.CharacterSheet.IndexViewModel
            {
                Characters = characterViewModels,
                CreateCharacter = PrepareCreateCharacterViewModel(),
                Races = _rules.GetAttributesByCategory("races").Select(Mapper.Map <SelectListItem>).ToList(),
                Classes = _rules.GetAttributesByCategory("classes").Select(Mapper.Map <SelectListItem>).ToList(),
            });
        }