internal ModuleRole GetById(long id, ModuleRoleFilterQuery filter) { try { return(DAOWorker.AasModuleRoleDAO.GetById(id, filter.Query())); } catch (Exception ex) { LogSystem.Error(ex); param.HasException = true; return(null); } }
internal List <ModuleRole> Get(ModuleRoleFilterQuery filter) { try { return(DAOWorker.AasModuleRoleDAO.Get(filter.Query(), param)); } catch (Exception ex) { LogSystem.Error(ex); param.HasException = true; return(null); } }