I think you're trying redirect to another action from one. You can use RedirectToAction(..)
function the achive this.
For example, if your action defined like this:
public ActionResult Action1()
{
/* code omitted */
}
You can redirect to it like this any where in an action:
return RedirectToAction("Action1");
If you want to redirect to an action which is in another controller, you can use
return RedirectToAction("Action1", "ControllerName");
If the action takes parameters, or route parameters you can use
return RedirectToAction("Action1", "ControllerName", new { param1 = value1, param2 = value2 });
BTW, If you're trying to implement an authentication mechanism, this is the wrong approach. You should use [Authorize] attribute or develop custom authentication. You can read this.