private static bool IsError(ActionResponseCode responseCode) { return((responseCode == ActionResponseCode.DatabaseError) || (responseCode == ActionResponseCode.InvalidInput) || (responseCode == ActionResponseCode.NotPermitted) || (responseCode == ActionResponseCode.UnspecifiedError)); }
private static bool IsWarning(ActionResponseCode responseCode) { return((responseCode == ActionResponseCode.AlreadyExists) || (responseCode == ActionResponseCode.CompletedWithWarnings) || (responseCode == ActionResponseCode.NoActionPerformed)); }