public BusinessException(string message, RuleViolatedType code) : base(message) { Code = (int)code; }
public BusinessException(string message, RuleViolatedType code):base(message) { Code = (int) code; }