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

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

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

            return(View(model));
        }