public static string ParseParameter(CryptoRequestParameters parameters) { var service = new CryptoRequestService(); service.AddFilter(parameters); return(service.GetFilters() .First()); }
public static List <string> ParseParameters(List <CryptoRequestParameters> parametersList) { var service = new CryptoRequestService(); foreach (var requestParameter in parametersList) { service.AddFilter(requestParameter); } return(service.GetFilters()); }