protected async Task <IEnumerable <T> > GetAsync <T>(string spName, DynamicParameters parameters = null) { var contextData = await _connectionContext.GetContextDataAsync() .ConfigureAwait(false); return(await contextData.Connection.QueryAsync <T>(spName, parameters, commandType : CommandType.StoredProcedure, transaction : contextData.Transaction) .ConfigureAwait(false)); }