public ActionResult Index()
        {
            var model = new ModelContentVoteItem
            {
                VoteItems = _voteapi.GetListSimple(UserItem.AgencyID)
            };

            return(View(model));
        }
        public ActionResult AjaxView()
        {
            ViewBag.GuiId    = GuiId.FirstOrDefault();
            ViewBag.ArrId    = ArrId.FirstOrDefault();
            ViewBag.AgencyID = UserItem.AgencyID;
            var model = _voteApi.GetListSimple(UserItem.AgencyID);

            return(View(model));
        }
Exemple #3
0
        public ActionResult ListItems()
        {
            var model = _api.GetListSimple(UserItem.AgencyID);

            return(View(model));
        }