コード例 #1
0
        public ActionResult UserData(User u)
        {
            ViewResult vr = View("Index");

            if (u != null)
            {
                int userid = db.GetUserIDByUserName(u.UserName);
                ViewBag.Recordings = db.GrabRecordings(userid);
                vr = View(u);
            }
            return(vr);
        }