Esempio n. 1
0
 public static bool CanDeleteObject()
 {
     return(AutorizationRulesControler.CanDeleteObject(Resources.SecureItems.EMPRESA));
 }
Esempio n. 2
0
 public static bool CanDeleteObject()
 {
     return(AutorizationRulesControler.CanDeleteObject(Resources.SecureItems.AUXILIARES) ||
            AppContext.User.IsAdmin);
 }