SHARE
TWEET

Untitled

_fops Jan 12th, 2014 23 Never
  1.         protected override bool BeforeSaveEntity(EntityInfo entityInfo)
  2.         {
  3.             // use beforesaveentity for security checks
  4.             var entity = entityInfo.Entity;
  5.  
  6.             if (entity is tblVehicleModels)
  7.             {
  8.                 return IsAdmin;
  9.             }
  10. ...
RAW Paste Data
Top