✅ Is it a good idea to store CSS class as a property in my C# model?
Example
Then I store like
"Online","green-circle"
"Offline", "red-circle"
Or should I check the status and then add the css in my js code itself?
Then I store like
"Online","green-circle"
"Offline", "red-circle"
Or should I check the status and then add the css in my js code itself?