private static void DeleteFromDb(SignalMessage message)
 {
     foreach (var attachment in message.Attachments)
     {
         SignalDBContext.DeleteAttachment(attachment);
     }
     SignalDBContext.DeleteMessage(message);
 }