示例#1
0
 //
 // GET: /User/
 public ActionResult Index()
 {
     if(Session["UserID"] == null)
     {
         return RedirectToAction("../Login/Index");
     }
     UserService userS = new UserService();
     UsersVM usersVM = userS.GetUsers();
     return View(usersVM);
 }