Beispiel #1
0
        private static void GetNames()
        {
            new JsonFeed(Constants.NameEndPoint, 0);
            dynamic result = JsonFeed.GetNames();

            names = Tuple.Create(result.name.ToString(), result.surname.ToString());
        }
Beispiel #2
0
 private static void GetCategories()
 {
     new JsonFeed(Constants.JokeEndPoint, 0);
     results = JsonFeed.GetCategories();
 }
Beispiel #3
0
 private static void GetRandomJokes(string category, int number)
 {
     new JsonFeed(Constants.JokeEndPoint, number);
     results = JsonFeed.GetRandomJokes(names?.Item1, names?.Item2, category);
 }