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

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