title: how to redirect to another url
body: <p>i make a simple application in asp.net mvc 4</p>
  
  <p>i make a random link, and send the random link to email..
  and when i click link in email, it will redirect to www.google.com</p>
  
  <p>my problem is, if i click my link at my email, i'm not redirect to www.google.com</p>
  
  <p>how i can solve my problem?</p>
  
  <p>this my code</p>
  
  <pre><code>public ActionResult Index(alamatWeb alamatweb)
      {
      var encryptText = MyEncryptDecript.Library.lockIt.EnString("a");
      var clearText = MyEncryptDecript.Library.lockIt.DeString(encryptText);
      ViewBag.encrypt = encryptText;
      ViewBag.decrypt = clearText;
      PasswordRandom x = new PasswordRandom();
      string paswordacak ="http://localhost:4466/User?UserID="+ x.GeneratePassword();
      ViewBag.acak = paswordacak;
  
      alamatweb.link = paswordacak;
      alamatweb.referensi = "www.rajakamar.com";
  
      url.alamatWebs.Add(alamatweb);
      url.SaveChanges();
  
      var c = (from d in url.alamatWebs
               select d.link).First();
  
      var aar = new tampilModel { 
          link = c
      };
  
      new MailController().SampleEmail(aar).Deliver();
      return View();
  }
  
  public ActionResult User()
  {
      var e = (from a in url.alamatWebs
               select a.link).ToList();
  
      var c = (from d in url.alamatWebs
               select d.link).First();
  
      if (e.Any(u =&gt; u == c))
      {
          return Redirect("www.google.com");
      }
      return View();
  }
  </code></pre>