Пример #1
0
        public ActionResult ShowFeed(int id)
        {
            RepositoryService <Channel> feed = new RepositoryService <Channel>(new ChannelsContext());
            List <Channel> channelsList      = feed.FindBy(p => (p.Id == id)).ToList();

            ViewBag.ChannelTitle = channelsList.FirstOrDefault().Title;
            return(PartialView(channelsList.FirstOrDefault().Items));
        }