Esempio n. 1
0
        public CharacterListViewModel GetAllCharacters()
        {
            var characters = context.GetCharacters();

            return(new CharacterListViewModel(characters.ToList().Select(x => new CharacterViewModel(x))));
        }