public ISecurity GetSecurity(ExternalIdBundle bundle) { ArgumentChecker.NotEmpty(bundle.Identifiers, "bundle"); Tuple <string, string>[] parameters = UriEncoding.GetParameters(bundle); return(_restTarget.Resolve("securitySearches").Resolve("single", parameters).Get <ISecurity>()); }
public ICollection <ISecurity> GetSecurities(ExternalIdBundle bundle) { ArgumentChecker.NotEmpty(bundle.Identifiers, "bundle"); var parameters = UriEncoding.GetParameters(bundle); return(_restTarget.Resolve("securities", parameters).Get <FudgeListWrapper <ISecurity> >().List); }