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); } }
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); } }