private void ServiceCall()
        {
            try
            {
                
                client = new FixedIncomeSettlementsServiceClient();
                //DataServices service = client.GetDataService(TradeDateProperty);
               // Dispatcher.BeginInvoke(new UpdateUI(this.UpdateModel), new object[] { new ObservableCollection<PortiaTrade>(service.PortiaTrades), new ObservableCollection<DtcTrade>(service.DtcTrades), new ObservableCollection<ReconTrade>(service.ReconTrades) });
               

            }
            catch (Exception ex)
            {

                //if (DXSplashScreen.IsActive == true)
                //{
                //    DXSplashScreen.Close();
                //    //TimerExecute();
                //}
                MessageBox.Show("Some error occured in service. Try after some time");
                client.Abort();
                
                Environment.Exit(0);
            }

        }
        private void ServiceCall()
        {
            try
            {
                DataServices service = new FixedIncomeSettlementsServiceClient().GetDataService(TradeDateProperty);
                Dispatcher.BeginInvoke(new UpdateUI(this.UpdateModel), new object[] { new ObservableCollection<PortiaTrade>(service.PortiaTrades), new ObservableCollection<DtcTrade>(service.DtcTrades), new ObservableCollection<ReconTrade>(service.ReconTrades) });
            }
            catch (Exception ex)
            {

            }

        }