// GET api/marketsearch?xloc=1.5&yloc=4.5
 // Returns the closest market to the listed location + distance
 // distance is in meters
 public ResultViewModel Get(double xloc, double yloc)
 {
     var marketFinder = new FindFarmerMarkets();
     ResultViewModel closestMarket = marketFinder.GetClosestMarket(xloc, yloc);
     return closestMarket;
 }
 // spreading this out from show results is a bit silly, mostly for experimental reasons
 public virtual ActionResult ShowSingleResult(double x, double y)
 {
     var marketFinder = new FindFarmerMarkets();
     ResultViewModel market = marketFinder.GetClosestMarket(x, y);
     return View(market);
 }