示例#1
0
        public ActionResult AddBorrow(BorrowAddModel borrowAddModel)
        {
            BorrowService borrowService = new BorrowService();

            borrowService.AddBorrows(borrowAddModel.SelectedUserId, borrowAddModel.ChosenBooks);
            return(Json(new { IsValid = true }));
        }