I have page X for search user data. This page can search for Active, Inactive and all user. When I send active condition to server, I use bool? (true = search active user, false = search inactive user, null = search all user) but there is a rule in my company that not allow send Nullable value between client and server.
I want to know are there any solutions for this problem?
Instead of using a Boolean, I’d use an
enumas such: