public CharacterViewModel GetCharacter(int id) { var character = context.GetCharacter(id); return(new CharacterViewModel(character, AvailableGenders, AvailableRaces)); }