Exemple #1
0
 internal Application GetByCode(string code, ApplicationFilterQuery filter)
 {
     try
     {
         return(DAOWorker.AasApplicationDAO.GetByCode(code, filter.Query()));
     }
     catch (Exception ex)
     {
         LogSystem.Error(ex);
         param.HasException = true;
         return(null);
     }
 }
Exemple #2
0
 internal List <Application> Get(ApplicationFilterQuery filter)
 {
     try
     {
         return(DAOWorker.AasApplicationDAO.Get(filter.Query(), param));
     }
     catch (Exception ex)
     {
         LogSystem.Error(ex);
         param.HasException = true;
         return(null);
     }
 }