Using MVC wrappers, I would like to be able to show/hide the CRUD operations based on booleans in the model (CanCreate, CanUpdate, CanDelete). So, if the CanDelete property is true, the delete button should show up (if false, it should not). Same for other 2 properties.
How can I configure the MVC wrapper this way?
For example,
.ToolBar(commands => commands.Create())
should only be included if the Model.CanCreate is true.
Thanks,
--John