コード例 #1
0
        public ActionResult ClassIndex(int classid)
        {
            var findclass = HistoryBookManage.FindClassBook(classid);

            ViewModels.historybk index = new ViewModels.historybk();
            index.FindClassBook = findclass;
            return(View(index));
        }
コード例 #2
0
        // GET: HistoryBook
        public ActionResult Index()
        {
            var data = HistoryBookManage.FindAllBook().OrderBy(p => p.Book_id);

            ViewModels.historybk index = new ViewModels.historybk();
            index.FindAllBook = data;
            return(View(index));
        }