public FundViewModel GetFund()
        {
            FundViewModel result =
                _portfolioOrchestrator.GetFundInformation(
                    FCIdentity.CustomerAccountCode,
                    FCIdentity.CustomerCode,
                    Currency.ChineseYuan);

            return(result);
        }
Пример #2
0
        public FundViewModel GetFund()
        {
            ConfirmDataPushing(FundTask, null, () =>
            {
                FundViewModel result1 =
                    _portfolioOrchestrator.GetFundInformation(
                        FCIdentity.CustomerAccountCode,
                        FCIdentity.CustomerCode,
                        Currency.ChineseYuan);
                Clients.Client(Context.ConnectionId).updateFund(result1);
            });

            FundViewModel result =
                _portfolioOrchestrator.GetFundInformation(
                    FCIdentity.CustomerAccountCode,
                    FCIdentity.CustomerCode,
                    Currency.ChineseYuan);

            return(result);
        }