public new ActionResult Profile() { if (Session["ID"] == null) { return(RedirectToAction("Login", "Default")); } else { return(View(p.GetInfo(Session["ID"].ToString()))); } }
private void FillInPage(People human) { var bioInfo = new ProfileInfo(human.Id); Info = bioInfo.GetInfo(); ImageLink = new Uri(Info.ProfilePath); Movies = bioInfo.GetHistory(); var topList = BuildBarDiagram(); var circleList = BuildCircleDiagram(); BarChart.Entries = topList; CircleChart.Entries = circleList; }
private string UserMajor() { string Major; return(Major = p.GetInfo(Session["ID"].ToString()).Major); }