public void Agregar(Notificacion notificacion) { GestorColasAzure gestor = new GestorColasAzure(notificacion.Tipo.ToString()); gestor.Agregar(notificacion); QueueThread.Run(); }
public void Agregar(List <Notificacion> notificaciones) { GestorColasAzure gestor; foreach (var n in notificaciones.GroupBy(x => x.Tipo)) { gestor = new GestorColasAzure(n.Key.ToString()); gestor.Agregar(n.ToList()); } QueueThread.Run(); }