public ActionResult Details(int id, String name)
{
if (Session["uid"] == null || Session["uid"].ToString().Equals(""))
{
return RedirectToAction("Index", "Home");
}
if ((int)Session["user_type"] < User_Type.POLL_MASTER)
{
return RedirectToAction("Invalid", "Home");
}
ViewData["name"] = name;
return RedirectToAction("Index", "Answer", new {id, name});
}