private static bool ShouldProceedWithRecording(List<ModelBase> models) { if (null == models) return false; models.RemoveAll(x => x == null); return models.Count > 0; }
private static bool ShouldProceedWithRecording(List<ModelBase> models) { if (null != models) models.RemoveAll((x) => (x == null)); return (null != models && (models.Count > 0)); }