// // GET: /Home/ public ActionResult Search() { var token = RentlerAuthClient.GetAuthToken(); var model = new RentlerModel { RentlerHost = host, Token = token.Result }; return View(model); }
public ActionResult Listing(long? id) { ViewBag.ID = id; var token = RentlerAuthClient.GetAuthToken(); var model = new RentlerModel { RentlerHost = host, Token = token.Result }; return View(model); }