Retuning of book

0
I am creating a Library Management app , in that after reading the book , i should be able to return the book and after returning the book , the availability of the book should be displayed in the list of books. How to show the book the availability of the book after returning .?
asked
1 answers
2

Hi Nithya,

You can use boolean attribute to make book available or not. Add boolean attribute as IsAvailable in entity.

And if someone reading book make the IsAvailable = true and on return keep value as IsAvailable = false.

And if the value is false book will be available in library.

 

answered