public AllPriceResponse GetAllFundPrices()
        {
            var request  = new AllPriceRequest();
            var response = _clientService.GetFundPrices(request);

            return(response);
        }
        public AllPriceResponse GetAllFundPrices(DateTime?date)
        {
            var request = new AllPriceRequest {
                PriceDate = date.Value
            };
            var response = _clientService.GetFundPrices(request);

            return(response);
        }
示例#3
0
        public AllPriceResponse GetFundPrices(AllPriceRequest payload)
        {
            var    _client        = new RestActions(_contentRootPath);
            string url            = _configSettingManager.ArmFundBaseUrl + "/Fund/AllPrice";
            var    encryptedValue = new SecureCredentials();

            payload.ServiceUsername = encryptedValue.DecryptCredentials(_configSettingManager.ArmServiceUsername);
            payload.ServicePassword = encryptedValue.DecryptCredentials(_configSettingManager.ArmServicePassword);
            return(_client.CallRestAction <AllPriceResponse, AllPriceRequest>(payload, url));
        }