Ejemplo n.º 1
0
        public ActionResult <BorrowDto> GetAll()
        {
            var borrowsDtos = _borrowService.GetAll();

            return(Ok(borrowsDtos));
        }
        public async Task <IActionResult> GetAllBorrows()
        {
            var borrows = await _borrowService.GetAll();

            return(Ok(borrows));
        }
 public ActionResult Borrowdetails()
 {
     ViewBag.blist = bkservice.GetAll();
     ViewBag.ulist = service.GetAll();
     return(View(bservice.GetAll()));
 }