Пример #1
0
 internal async static Task AddComment(string comment)
 {
     Repository.QueueRepository repository = new QueueRepository();
     if (!isQueueCreated)
     {
         isQueueCreated = await repository.CreateQueueAsync(QUEUENAME);
     }
     await repository.InsertMessageAsync(QUEUENAME, comment);
 }