예제 #1
0
        public ActionResult ContinueAll()
        {
            string userId        = GetUserId();
            var    booksLentData = repo.GetBooksLent(userId);

            foreach (var item in booksLentData)
            {
                repo.ContinueLend(item.lend_id);
            }
            return(RedirectToAction("Index"));
        }