Пример #1
0
        //
        // GET: /Position/
        public async Task <ActionResult> Index()
        {
            IList <AESDataService.Position> model = new List <AESDataService.Position>();

            using (AESDataService.DataServiceClient client = new AESDataService.DataServiceClient())
            {
                model = await client.getAllPositionsAsync();
            }
            return(View(model));
        }