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)); }
public async Task <IList <Gadget> > ListGadgetModels() { return(await _root.GetAsync <IList <Gadget> >("modules/root_gadgets/models")); }