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).
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).
Constraints and usage notes¶
- Registered as singleton.
Sources¶
- src/BolMiddleware/Services/Menu/IMenuService.cs