Is a very simple scenario:
I need to build a rent a car application.
I fill out a booking form where I select the car I have rented and on which date it will be rented:
Start and end date
Ok, if later fill a new form and select the same dates the application should not let me choose that car because it will not be available.
Or if i select a date, the application must show what are the cars that will be available on that date.
Any idea how to get it?