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); }
public void Notify(AddInterventoCommand command) { _sender.SendNotification(command); }