public ServiceBatchObject Search(BatchSearchFilter batchSearchFilter, DataShaping shaper, BatchValidator validator = null) { if (!_security.IsvalidSelect()) return new ServiceBatchObject(); if (validator != null && !validator.ValidEntry()) return new ServiceBatchObject(); return _batchDal.GetBatchList(batchSearchFilter).ToServiceBatchObject(shaper.Column, shaper.RecordPageSize, shaper.RecordStart); }