public static void UpdateServiceType(ServiceType serviceType)
 {            
     try
     {
         ServiceTypeDAO serviceTypeDAO = new ServiceTypeDAO();
         serviceTypeDAO.UpdateServiceType(serviceType);
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessUpdateServiceTypeException, ex);
     }
 }        
 public static ServiceType GetServiceType(int serviceTypeID)
 {            
     try
     {
         ServiceTypeDAO serviceTypeDAO = new ServiceTypeDAO();
         return serviceTypeDAO.GetServiceType(serviceTypeID);                
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessGetServiceTypeException, ex);
     }
 }                
 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);
     }
 }        
 public static ServiceTypeCollection ExistServiceTypeIdForServiceType(string ServiceTypeDescription)
 {
     try
     {
         ServiceTypeDAO serviceTypeDAO = new ServiceTypeDAO();
         return serviceTypeDAO.ExistServiceTypeIdForServiceType(ServiceTypeDescription);
     }
     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);
     }
 }