Пример #1
0
 /// <summary>
 /// 根据角色和模块获取操作码
 /// </summary>
 /// <param name="pager"></param>
 /// <param name="moduleId"></param>
 /// <returns></returns>
 public List <P_Sys_GetPermByRoleAndModule_Result> GetOperaByRoleAndModule(int roleId, int moduleId)
 {
     using (DBContainer db = new DBContainer())
     {
         return(db.P_Sys_GetPermByRoleAndModule(roleId, moduleId).ToList());
     }
 }