The error message is "The SqlParameterCollection only accepts non-null SqlParameter type objects, not SqlParameter objects."
var sqlparamPayRunId = new