Exemplo n.º 1
0
 public static ServiceTypeCollection GetServiceTypeList(ServiceTypeColumns orderBy, string orderDirection)
 {            
     try
     {
         ServiceTypeDAO serviceTypeDAO = new ServiceTypeDAO();
         return serviceTypeDAO.GetServiceTypeList(orderBy, orderDirection);
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessGetServiceTypeListException, ex);
     }
 }