Exemple #1
0
        public void insertRuleException(int BusinessRuleId, int clientID, int userID, int claimId)
        {
            RuleExceptionManager RuleExceptionManagerObj = new RuleExceptionManager();
            RuleException RuleExceptionObj = new RuleException();

            RuleExceptionObj.BusinessRuleID = BusinessRuleId;
            RuleExceptionObj.ClientID = clientID;
            RuleExceptionObj.UserID = userID;
            RuleExceptionObj.ObjectID = claimId;
            RuleExceptionObj.ObjectTypeID = 1;

            RuleExceptionManagerObj.Save(RuleExceptionObj);
        }
Exemple #2
0
 public void AddException(RuleException ruleException)
 {
     using (RuleExceptionManager repository = new RuleExceptionManager()) {
         repository.Save(ruleException);
     }
 }