Ejemplo n.º 1
0
        public async Task <ActionResult> Index()
        {
            var currentlyLoggedUserId = User.Identity.GetUserId();
            var questions             = await _agentQuestionServices.List(userIssuingTheQuestionsId : currentlyLoggedUserId);

            //Filters setup
            ViewBag.Agents = await _agentServices.GetAgentsForDropDown();

            //------------

            return(View(questions));
        }