예제 #1
0
        public new ActionResult Profile()
        {
            string username = (string)Session["username"];

            ViewBag.borrower     = BorrowerDAO.GetBorrowerByUsername(username);
            ViewBag.reservations = ReservationDAO.GetReservationByUsername(username);
            ViewBag.reviews      = ReviewDAO.GetReviewByUsername(username);
            ViewBag.message      = "";
            return(View());
        }