Mar 12, 2021 09:14 AM|Jerry Cai|LINK
Your where will just get true or false, it won't filter anything.
You can select every rows that u.UserTypesId equals ut.Id first, then use four if to select. For example, you click Login, the check will get the
value 'Login', then you can filter by Login. Four checks with four if, that demo is an exmaple.
If I misunderstood anything, could you please explain your needs?