示例#1
0
 public List <PaymentTypeObject> Search(string searchCriteria)
 {
     try
     {
         var objList = _paymentTypeRepository.Search(searchCriteria);
         if (objList == null || !objList.Any())
         {
             return(new List <PaymentTypeObject>());
         }
         return(objList);
     }
     catch (Exception ex)
     {
         ErrorLogger.LogError(ex.StackTrace, ex.Source, ex.Message);
         return(new List <PaymentTypeObject>());
     }
 }