예제 #1
0
        public async Task <UserChannel> RemoveFromChannel(ucDTO input)
        {
            var thisChannel = await userChannelRepository.RemoveUserFromChannel(input.Username, input.ChannelName);

            return(thisChannel);
        }
예제 #2
0
        public async Task <UserChannel> AddToChannel(ucDTO input)
        {
            var thisChannel = await userChannelRepository.AddUserToChannel(input.Username, input.ChannelName);

            return(thisChannel);
        }