コード例 #1
0
        //
        // GET: /Home/
        public ActionResult Search()
        {
            var token = RentlerAuthClient.GetAuthToken();

            var model = new RentlerModel
            {
                RentlerHost = host,
                Token = token.Result
            };

            return View(model);
        }
コード例 #2
0
        public ActionResult Listing(long? id)
        {
            ViewBag.ID = id;

            var token = RentlerAuthClient.GetAuthToken();

            var model = new RentlerModel
            {
                RentlerHost = host,
                Token = token.Result
            };

            return View(model);
        }