title: How to show a popup message with aspnet Razor
body: <p>I need to validate some fields from a form, I'm not using any front-end language to perform this, I'm getting the information from the <code>ActionResult</code>I need to show some message!</p>
  
  <pre><code>    [HttpPost]
      [ValidateAntiForgeryToken]
      public ActionResult ResetPassword(string user, string hash)
      {
          string old = Request.Form["oldpassword"];
          string password = Request.Form["password"];
          string repeat = Request.Form["repeatpassword"];
  
  
          if(String.IsNullOrEmpty(old) || String.IsNullOrEmpty(password) || String.IsNullOrEmpty(repeat))
          {
              "show a dialog".
          }
  </code></pre>