Beispiel #1
0
 // GET: ManageAccount
 public ActionResult Details()
 {
     if (Session["PasgoID"] != null)
     {
         //List<PasgoUser> userModel = db.PasgoUsers.ToList();
         System.Diagnostics.Trace.WriteLine(Session["PhoneNumber"].ToString());
         GetUserInforSP_Result info = db.GetUserInforSP(Session["PhoneNumber"].ToString()).ElementAt(0);
         return(View(info));
     }
     else
     {
         return(RedirectToAction("Index", "Home"));
     }
 }