Example #1
0
        public IActionResult Result()
        {
            YelpApi repos = YelpApi.Recommend();

            return(View(repos));
        }
Example #2
0
 public IActionResult Search(YelpApi newSearch)
 {
     newSearch.Send();
     return(RedirectToAction("Result"));
 }
Example #3
0
 public FoodContext()
 {
     _yelp = new YelpApi();
     GetCurrentLocation();
 }