Ejemplo n.º 1
0
 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 }));
 }
Ejemplo n.º 3
0
 public Task <decimal?> LookupPriceAsync(string ticker)
 {
     return(HttpJsonRpcServiceHelper.ExecuteRequestAsync <decimal?>(url, new { ticker }));
 }