I am getting an error code in the result. code below. I am basically trying to get a data set from SingleColumn method and use it in SMA method. Bu
SingleColumn
SMA
You should use static variable.
private static IEnumerable result;
and then in method SingleColumn asign columnQuery.ToList() to this variable