public ActionResult BorrowHistory()
 {
     if (Convert.ToInt32(Session["type"]) != 0)
     {
         return(RedirectToAction("Index", "User"));
     }
     else
     {
         ViewBag.blist = service.GetAll();
         return(View(bservice.GetByBorrower(Convert.ToInt32(Session["uid"]))));
     }
 }