public CMSBoardsController()
 {
     _factory = new CMSBoardFactory();
     _facAcc  = new CMSAccountFactory();
     ListItem = new List <string>();
     ListItem = _factory.GetList().Select(o => o.url).ToList();
     ViewBag.ListGroupBoard = getListGroupBoards();
 }
 public CMSKeywordsController()
 {
     _factory             = new CMSKeywordFactory();
     _facAcc              = new CMSAccountFactory();
     ListItem             = new List <string>();
     ListItem             = _factory.GetList().Select(o => o.KeySearch).ToList();
     ViewBag.ListGroupKey = getListGroupKeyword();
 }
        public CMSPIAccountsController()
        {
            _factory      = new CMSAccountFactory();
            _facFBAccount = new CMSAccountFactory();
            ListItem      = new List <string>();
            //ListItem = _factory.GetList().Select(o => o.Account).ToList();
            var lstAcc = _factory.GetList();

            if (lstAcc != null)
            {
                ListItem = lstAcc.Select(o => o.Account).ToList();
            }
        }