public static BusinessResult ErrorResult(IEnumerable <BusinessError> businessRules) { var result = new BusinessResult(); result.AddBrokenRule(businessRules); return(result); }
public static BusinessResult SingleErrorResult(BusinessError businessRule) { var result = new BusinessResult(); result.AddBrokenRule(businessRule); return(result); }