예제 #1
0
        public async Task <IList <ClaimResponse> > ListClaims(string claimStatus = "all", string approvalStatus = "all")
        {
            var request = $"claims?claim_status={claimStatus}&approval_status={approvalStatus}";

            return(await _root.GetAsync <IList <ClaimResponse> >(request));
        }
예제 #2
0
 public async Task <IList <Gadget> > ListGadgetModels()
 {
     return(await _root.GetAsync <IList <Gadget> >("modules/root_gadgets/models"));
 }