public async Task<IEnumerable<WCF.ItemDetailsModel>> Get()
        {
            IEnumerable<WCF.ItemDetailsModel> query;
            WCF.IService1 proxy = new WCF.Service1Client();
            var request = await proxy.GetItemDetailsAsync(new WCF.GetItemDetailsRequest());
            query = request.GetItemDetailsResult.ToList();
            proxy = null;

            return query;
        }
Beispiel #2
0
        public async Task <IEnumerable <WCF.ItemDetailsModel> > Get()
        {
            IEnumerable <WCF.ItemDetailsModel> query;

            WCF.IService1 proxy   = new WCF.Service1Client();
            var           request = await proxy.GetItemDetailsAsync(new WCF.GetItemDetailsRequest());

            query = request.GetItemDetailsResult.ToList();
            proxy = null;

            return(query);
        }