Esempio n. 1
0
         public static MailMessage GetQueueMessage(Guid id)
         {
             DatabaseFunctions dbFunctions = new DatabaseFunctions();
             var mailMessage = dbFunctions.GetQueueMessage(id);

             return mailMessage;
         }
Esempio n. 2
0
       public static Guid InsertQueueMessage(MailMessage queueMessage)
       {
           DatabaseFunctions dbFunctions = new DatabaseFunctions();
 
           return dbFunctions.InsertQueue(queueMessage);
       }
Esempio n. 3
0
 public static Guid GetApiKey(int id)
 {
     DatabaseFunctions dbFunctions = new DatabaseFunctions();
     Guid apiKey = dbFunctions.GetApiKey(id);
     return apiKey;
 }
Esempio n. 4
0
      public static void RemoveQueueMessage(Guid id)
      {
          DatabaseFunctions dbFunctions = new DatabaseFunctions();
 
          dbFunctions.ArchieveQueue(id);
      }
Esempio n. 5
0
 public static List<Guid> GetAllMessageIds()
 {
     DatabaseFunctions dbFunctions = new DatabaseFunctions();
     List<Guid> messageId = dbFunctions.GetAllMessageIds();
     return messageId;
 }