private static List <NamedAPIResource> GetPokemonSpecies(EFEggGroups eggGroup)
 {
     return(eggGroup
            .PokemonEggGroups
            .Select(x => x.Species.ToNamedApiResource())
            .ToList());
 }
 private static List <Name> GetNames(EFEggGroups eggGroup)
 {
     return(eggGroup
            .EggGroupProse
            .Select(x => new Name(x.Name, x.LocalLanguage.ToNamedApiResource()))
            .ToList());
 }
 internal static NamedAPIResource ToNamedApiResource(this EFEggGroups src)
 => src.ToNamedApiResource <EggGroupsController>();