Пример #1
0
        public ActionResult addborrow(BorrowBook u)
        {
            if (ModelState.IsValid)
            {
                int id = int.Parse(Session["book_id"].ToString());

                BookBL.Insertborrow(u, id);
                return(RedirectToAction("BookEmp"));
            }
            else
            {
                return(View());
            }
        }