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