예제 #1
0
        public void Agregar(Notificacion notificacion)
        {
            GestorColasAzure gestor = new GestorColasAzure(notificacion.Tipo.ToString());

            gestor.Agregar(notificacion);
            QueueThread.Run();
        }
예제 #2
0
        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();
        }