Exemple #1
0
        public void Notify(AddInterventoCommand command)
        {
            var sintesi = _getSintesiRichiestaByCodice.GetSintesi(command.Chiamata.Codice);

            _sender.SendNotification(command);

            var messaggio  = $"E' stato richiesto un intervento in {sintesi.Localita.Indirizzo}. Codice Intervento: {sintesi.Codice}";
            var infoMatrix = new MessageMatrix()
            {
                Messaggio = messaggio,
                CodSede   = sintesi.CodSOCompetente.Split('.')[0]
            };

            _callMatrix.SendMessage(infoMatrix);
        }
Exemple #2
0
 public void Notify(AddInterventoCommand command)
 {
     _sender.SendNotification(command);
 }