Пример #1
0
 internal Project GetByCode(string code, PcsProjectFilterQuery filter)
 {
     try
     {
         return(DAOWorker.PcsProjectDAO.GetByCode(code, filter.Query()));
     }
     catch (Exception ex)
     {
         LogSystem.Error(ex);
         param.HasException = true;
         return(null);
     }
 }
Пример #2
0
 internal List <Project> Get(PcsProjectFilterQuery filter)
 {
     try
     {
         return(DAOWorker.PcsProjectDAO.Get(filter.Query(), param));
     }
     catch (Exception ex)
     {
         LogSystem.Error(ex);
         param.HasException = true;
         return(null);
     }
 }