// GET: Content public ActionResult ContentManagement() { ContentFactory cf = new ContentFactory(); List <ChannelEntity> Channel = cf.GetChannel(); ViewBag.Channel = new SelectList(Channel, "ChannelId", "ChannelName"); return(View()); }
// GET: Content public ActionResult ContentManagement() { ContentFactory cf = new ContentFactory(); List <ChannelEntity> Channel = cf.GetChannel(); ViewBag.Channel = new SelectList(Channel, "ChannelId", "ChannelName"); return(View()); }