public static IEnumerable <Badge> LoadBadges() { var xdoc = XDocument.Load(@"..\..\..\Files\badges.xml"); var badgeMapper = new BadgeMapper(); return(badgeMapper.Map(xdoc.Descendants("row"))); }
public static IEnumerable<Badge> LoadBadges() { var xdoc = XDocument.Load(@"..\..\..\Files\badges.xml"); var badgeMapper = new BadgeMapper(); return badgeMapper.Map(xdoc.Descendants("row")); }