Ejemplo n.º 1
0
        //
        // GET: /Home/

        public ActionResult Search()
        {
            var token = RentlerAuthClient.GetAuthToken();

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

            return(View(model));
        }
Ejemplo n.º 2
0
        public ActionResult Create(long?id)
        {
            ViewBag.ID = id;

            var token = RentlerAuthClient.GetAuthToken();

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

            return(View(model));
        }