public async Task <ViewResultBase> Data(Guid privilegeMasterValue, EnumPrivilegeMaster privilegeMaster) { return(View((await _permissionLogic.GetDataByPrivilegeMaster(privilegeMasterValue, privilegeMaster)).ToList())); }
public async Task <JsonResult> GetDataByPrivilegeMaster(Guid privilegeMasterValue, EnumPrivilegeMaster privilegeMaster) { //获取所有模块按钮 return(Json((await _permissionLogic.GetDataByPrivilegeMaster(privilegeMasterValue, privilegeMaster)).ToList())); }