private Func <RedirectItem, int, ValidatedRedirectItem> ValidateItems() { return((redirect, index) => RedirectItemValidationContext.Validate(index, redirect, Redirects.Where(a => !string.IsNullOrEmpty(a.LinkUrl) && !string.IsNullOrEmpty(a.Url)))); }