internal Role GetByCode(string code, RoleFilterQuery filter) { try { return(DAOWorker.AasRoleDAO.GetByCode(code, filter.Query())); } catch (Exception ex) { LogSystem.Error(ex); param.HasException = true; return(null); } }
internal List <Role> Get(RoleFilterQuery filter) { try { return(DAOWorker.AasRoleDAO.Get(filter.Query(), param)); } catch (Exception ex) { LogSystem.Error(ex); param.HasException = true; return(null); } }