// // GET: /Question/ public async Task<ActionResult> Index() { IList<AESDataService.Question> model = new List<AESDataService.Question>(); using (AESDataService.DataServiceClient client = new AESDataService.DataServiceClient()) { model = await client.getAllQuestionsAsync(); } return View(model); }
// // GET: /Question/ public async Task <ActionResult> Index() { IList <AESDataService.Question> model = new List <AESDataService.Question>(); using (AESDataService.DataServiceClient client = new AESDataService.DataServiceClient()) { model = await client.getAllQuestionsAsync(); } return(View(model)); }