public IEnumerable<Profile> ConvertToProfiles(string jsonText) { var profile = new Profile() { FirstName = "Erik", LastName = "Dietrich" }; return new List<Profile>() { profile }; }
public IEnumerable<Profile> GetProfilesForLocation(string locationText) { var queryResult = _githubInquisitor.ExecuteUrlQuery(locationText); if (!queryResult.Contains("erikdietrich")) return Enumerable.Empty<Profile>(); var profile = new Profile { FirstName = "Erik" }; return Enumerable.Repeat<Profile>(profile, 1); }