コード例 #1
0
        public async Task <ActionResult> Verrouiller(string target)
        {
            var  request = new RequestApi();
            User cible   = await request.TrackUser(target);

            ViewBag.name       = cible.Name;
            ViewBag.mail       = cible.Email;
            ViewBag.url        = cible.Id;
            ViewBag.LasPos     = cible.LastPosition;
            ViewBag.LasPosTime = cible.LastPositionTime;
            return(View());
        }