public async Task <IHttpActionResult> lendBook(List <string> bookid, int userId) { try { return(Ok(await userObj.lendingBooks(bookid, userId))); } catch (Exception e) { return(Ok(false)); } }