Ejemplo n.º 1
0
        public IChannelDetails GetChannel(string id)
        {
            var userId = _am.Authenticate(HttpContext).Id;

            var channel     = _cm.GetChannel(new Subscriber(id, userId));
            var subscribers = _am.GetSubscribers(channel.Subscribers);

            return(new ChannelDetail(channel, subscribers));
        }