---
title: IMenuService
summary: API reference for IMenuService.
status: draft
owner: SAIF IT Core Services
last_reviewed: 2026-10-12
library: BolMiddleware
reference_type: package
---

# IMenuService

Contract for loading the Business Online menu for a user. `MenuService` implements it.

## Purpose
- Supply the menu displayed by the side and top menu components ([BR-BOLMIDDLEWARE-007](../../business-rules.md#br-bolmiddleware-007-menu-source-selection)).

## Context
- Namespace: `BolMiddleware.Services.Menu`
- Assembly/package: `BolMiddleware`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `GetMenu` | `BusinessOnlineMenu? GetMenu(string userId)` | Returns the menu for the user, or null when it cannot be loaded. |

## Behavioral notes
- A null result leads to the error view ([BR-BOLMIDDLEWARE-016](../../business-rules.md#br-bolmiddleware-016-null-menu-error-view)).

## Constraints and usage notes
- Registered as singleton.

## Sources
- src/BolMiddleware/Services/Menu/IMenuService.cs
