public Task <List <StockHolding> > GetPortfolioAsync(Guid userId) { return(HttpJsonRpcServiceHelper.ExecuteRequestAsync <List <StockHolding> >(url, new { userId })); }
public Task <Guid?> AuthenticateUserAsync(string user, string password) { return(HttpJsonRpcServiceHelper.ExecuteRequestAsync <Guid?>(url, new { user, password })); }
public Task <decimal?> LookupPriceAsync(string ticker) { return(HttpJsonRpcServiceHelper.ExecuteRequestAsync <decimal?>(url, new { ticker })); }