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); }
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)); }