public ActionResult Login(FormCollection formCollection) { AccountService accountService = new AccountService(); Account auth = accountService.Authenticate(formCollection["user"], formCollection["pass"]); if (auth != null) { Session.Add("Account", auth); PlaceService placeService = new PlaceService(); Place[] places = placeService.GetRatedPlaceByAccount(auth.AccountID); return View("~/Views/Account/Dashboard.cshtml", places); } return View(); }