title: how to return default view from action?
body: <p>i have two views which consist same login form. The forms call same action. i want to display error in page. i redirect to indexpage. But when i login from loginpage error is dispalyed in indexpage but i want the error to display in loginpage when login from login page and in index page when login from index page</p>
  
  <p>my code is </p>
  
  <pre><code>public ActionResult ValidateLogIn(UserLogin users)
      {
          if (ModelState.IsValid)
          {
              var result = _accountUserService.GetAccountUserByEmailId(users.Email);
              if (result != null)
              {
                  if (result.Password == users.Password &amp;&amp; result.Active)
                  {
                      Session.Add("Username", result.Email);
                      ViewBag.email = users.Email;
                      return View("Index");
                      //return full form registration;    
                  }
                  ViewBag.UError = NcMessage.NotAcitvated;
              }
              else
              {
                  ViewBag.UError = NcMessage.UsernameNotFound;
              }
          }
          return View("Index");
      }
  </code></pre>
  
  <p>how could i do?</p>