예제 #1
0
        public ActionResult UpdateAbout(long id)
        {
            var dao   = new AboutDAO();
            var model = dao.aboutDetail(id);

            return(View(model));
        }
예제 #2
0
        // GET: About
        public ActionResult Index()
        {
            var dao = new AboutDAO();

            //ViewBag.aboutDAO = dao.aboutDetail(1);
            return(View(dao.aboutDetail(1)));
        }