public DataSet SearchLog(string logUser, string tableName, DateTime dateFrom, DateTime dateTo) { using (CommonServiceClient client = SoapClientFactory.CreateCommonServiceClient()) { byte[] loginTicket = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser); byte[] receivedData = client.SearchLog(loginTicket, logUser, tableName, dateFrom, dateTo); return(ZipTools.DecompressionDataSet(receivedData)); } }