protected async Task AddChannel(bool doit = false) { if (doit) { Channel chann; chann = new Channel { Name = BotName, CreatedAt = DateTime.UtcNow }; await ChannelService.AddAsync(chann); } }
protected async Task AddChannel(bool doit = false) { if (doit) { Channel chann; chann = new Channel { Name = BotName, CreatedAt = DateTime.UtcNow }; await ChannelService.AddAsync(chann); } }