/ Published in: C#
This is far from ground breaking but I forget it all the time so thought this might be a useful place to keep a reference of it
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@(Model.Roles == null ? "No" : Model.Roles.Count.ToString())