private void Dispatch() { MejoresPuntasOfertaEntity ofertaEntity = null; while (this.ofertasQueue.TryTake(out ofertaEntity, -1)) { FixDAL.InsertarOferta20Min(ofertaEntity); } }
private void Dispatch() { PrecioHistoricoEntity precioHistorico = null; while (this.preciosHistoricosQueue.TryTake(out precioHistorico, -1)) { FixDAL.InsertarPrecioHistorico(precioHistorico); GraphDAL.InsertarPrecio(precioHistorico); } }