public IHttpActionResult ExecuteRule(ExecuteRuleDefinition executeRuleDefinition) { object entity = executeRuleDefinition.entity; string ruleName = executeRuleDefinition.ruleName; return(Ok(RulesManager.ExecuteRule(ruleName, entity))); }