Example #1
0
        public static BusinessResult SingleErrorResult(BusinessError businessRule)
        {
            var result = new BusinessResult();

            result.AddBrokenRule(businessRule);

            return(result);
        }
Example #2
0
 public void AddBrokenRule(BusinessError brokenRule) => BrokenRules.Add(brokenRule);