Exemple #1
0
 internal UserRole GetById(long id, UserRoleFilterQuery filter)
 {
     try
     {
         return(DAOWorker.AasUserRoleDAO.GetById(id, filter.Query()));
     }
     catch (Exception ex)
     {
         LogSystem.Error(ex);
         param.HasException = true;
         return(null);
     }
 }
Exemple #2
0
 internal List <UserRole> Get(UserRoleFilterQuery filter)
 {
     try
     {
         return(DAOWorker.AasUserRoleDAO.Get(filter.Query(), param));
     }
     catch (Exception ex)
     {
         LogSystem.Error(ex);
         param.HasException = true;
         return(null);
     }
 }