private static (string, object) ReadNameValue(SiteSettings ss, string columnName, object value) { return( columnName, ss?.ColumnHash.Get(columnName)?.CanRead == true ? value : null); }
private static (string, object) ReadNameValue( Context context, SiteSettings ss, string columnName, object value) { return( columnName, ss?.ColumnHash.Get(columnName)?.CanRead( context: context, ss: ss, mine: null) == true ? value : null); }