(ctx context.Context, menu *domain.Menu)
| 10 | |
| 11 | type MenuRepository interface { |
| 12 | CreateMenu(ctx context.Context, menu *domain.Menu) error |
| 13 | GetMenuById(ctx context.Context, id int) (*domain.Menu, error) |
| 14 | UpdateMenu(ctx context.Context, menu *domain.Menu) error |
| 15 | DeleteMenu(ctx context.Context, id int) error |