title: MVC 5 c# hide url parameter
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> $.ajax({
              type: "POST",
              url: "@Url.Action("SignInUp")",
              data: JSON.stringify({ email_add: email_add ,}),
              contentType: "application/json; charset=utf-8",
              success: function (response) {
                  
                  if (response.result == 'SignUp') {
                      alert("Opp`s its look like you dont have an access for this website");
                      window.location = response.Urls;
                  }
                  else
                  {
                      alert("Success fully login");
                      window.location = response.Url;
                  }
  
              }
          });</code></pre>
  </div>
  </div>
  </p>
  
  <p>hi guys I`m new in mvc5 c# and i in counter this problem i want to hide my url parameter. any can help me thank you for advance</p>
  
  <p>this is my code:</p>
  
  <pre><code>public ActionResult SingInUp(string email_add)
  {
      bool obj = db.tblUsers.Any(x =&gt; x.email_add.Equals(email_add));
      if (obj)
      {
          tblUser user = db.tblUsers.Single(x =&gt; x.email_add == email_add);
          Session["email_add"] = user.email_add;
          Session["fname"] = user.fname;
          Session["lname"] = user.lname;
          return Json(new { result = "Redirect", Url = Url.Action("Check", "ProjectV3") });
      }
      else
      {
          return Json(new { result = "SingUp", Urls = Url.Action("SignUp", "ProjectV3", new { email_add = email_add}) });
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/uVLcn.png" rel="nofollow noreferrer">This is i want to hide</a></p>