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