Exemplo n.º 1
0
        public async Task RemoveChannel(GuildGroupChannel channel)
        {
            using (var connection = new MySqlConnection(_configuration["ConnectionStrings:CouchBot"]))
            {
                await connection.OpenAsync();

                await connection.DeleteAsync(channel);
            }
        }
Exemplo n.º 2
0
 public async Task RemoveChannel(GuildGroupChannel channel)
 {
     await _channelDal.RemoveChannel(channel);
 }
Exemplo n.º 3
0
 public async Task AddChannel(GuildGroupChannel channel)
 {
     await _channelDal.AddChannel(channel);
 }