コード例 #1
0
 protected async Task AddChannel(bool doit = false)
 {
     if (doit)
     {
         Channel chann;
         chann = new Channel
         {
             Name      = BotName,
             CreatedAt = DateTime.UtcNow
         };
         await ChannelService.AddAsync(chann);
     }
 }