Good afternoon guys, are you okay?
I'm creating a car rental system in C # and would like to implement a function that returns all cars to me and a column that shows whether the requested car is leased or not, if it is leased, the ball would be green and else, the red ball and that would automatically change when making the lease. I have already researched in several places but I do not find, Here is an example:
The query I can do, the problem is this variable STATUS