public static ContentTemplateAttachement GetContentTemplateAttachement(int contentTemplateAttachementID)
 {            
     try
     {
         ContentTemplateAttachementDAO contentTemplateAttachementDAO = new ContentTemplateAttachementDAO();
         return contentTemplateAttachementDAO.GetContentTemplateAttachement(contentTemplateAttachementID);                
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessGetContentTemplateAttachementException, ex);
     }
 }                
 public static void UpdateContentTemplateAttachement(ContentTemplateAttachement contentTemplateAttachement)
 {            
     try
     {
         ContentTemplateAttachementDAO contentTemplateAttachementDAO = new ContentTemplateAttachementDAO();
         contentTemplateAttachementDAO.UpdateContentTemplateAttachement(contentTemplateAttachement);
     }
     catch (ApplicationException)
     {
         throw;
     }
     catch (Exception ex)
     {
         // log this exception
         log4net.Util.LogLog.Error(ex.Message, ex);
         // wrap it and rethrow
         throw new ApplicationException(SR.BusinessUpdateContentTemplateAttachementException, ex);
     }
 }        
 public static ContentTemplateAttachementCollection GetContentTemplateAttachementList(ContentTemplateAttachementColumns orderBy, string orderDirection)
 {            
     try
     {
         ContentTemplateAttachementDAO contentTemplateAttachementDAO = new ContentTemplateAttachementDAO();
         return contentTemplateAttachementDAO.GetContentTemplateAttachementList(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.BusinessGetContentTemplateAttachementListException, ex);
     }
 }