コード例 #1
0
        public List <ItemDetails> GetDeatilbyItemId(int id)
        {
            List <ItemDetails> result = new List <ItemDetails>();

            result.Add(JsonHelper.ConvertJsonToGenericObject <ItemDetails>(GetApi(string.Format("https://localhost:44348/Item/{0}", id), "GET")));
            return(result);
        }
コード例 #2
0
        public List <ItemInventory> GetItemInventory()
        {
            List <ItemInventory> result = new List <ItemInventory>();

            result = JsonHelper.ConvertJsonToGenericObject <List <ItemInventory> >(GetApi("https://localhost:44348/Item", "GET"));
            return(result);
        }