public IActionResult GetGroupChannelsNotConnectedWithLoggedUser(GetGroupChannelsRequest command) { var channels = _channelService.GetChannelsInGroupNotConnectedWithLoggedUser(command.GroupId, command.ChannelName); return(Json(channels)); }
public IActionResult GetGroupChannels(GetGroupChannelsRequest command) { var channels = _channelService.GetChannelsForGroup(command.GroupId); return(Json(channels)); }