private ObservableCollection<ReconTrade> GetReconTrades(DateTime tradeDate) { //ReconTrade[] s = Service.GetComparisonReport(tradeDate); //lstRecon = s.ToList(); Uri baseAddress = new Uri("http://localhost:8732/PortiaService/"); var service = new FixedIncomeSettlementsService(); lstRecon = service.GetComparisonReport(tradeDate); return lstRecon; }
public ObservableCollection<PortiaTrade> GetTrades(DateTime tradeDate) { //PortiaTrade[] s = Service.GetPortiaTrades(tradeDate); // portiaTrade = s.ToList(); //portiaTrade = service.GetPortiaTrades(tradeDate); Uri baseAddress = new Uri("http://localhost:8732/PortiaService/"); var service = new FixedIncomeSettlementsService(); return service.GetPortiaTrades(tradeDate); }
public ObservableCollection<DtcTrade> GetConfirms(DateTime tradeDate) { //DtcTrade[] s = Service.GetConfirmsTrades(tradeDate); //dtcConfirms = s.ToList(); //return dtcConfirms; Uri baseAddress = new Uri("http://localhost:8732/PortiaService/"); var service = new FixedIncomeSettlementsService(); dtcConfirms = service.GetConfirmsTrades(tradeDate); //PortiaTrade[] s = service.GetPortiaTrades(tradeDate).ToArray(); //portiaTrade = s.ToList(); return dtcConfirms; }
private void ServiceCall() { Uri baseAddress = new Uri("http://localhost:8732/PortiaService/"); DataServices service = new FixedIncomeSettlementsService().GetDataService(tradeDate); Dispatcher.BeginInvoke(new UpdateUI(this.UpdateModel), new object[] { service.PortiaTrades, service.DtcTrades, service.ReconTrades }); }