public IActionResult GetItemsForAdmin(Guid id) { var menuItems = _menuFacade.GetMenuItemsForAdminList(SiteId, id); return(Ok(menuItems)); }
public async Task <IActionResult> GetItemsForAdmin(Guid id) { var menuItems = await Task.Run(() => _menuFacade.GetMenuItemsForAdminList(SiteId, id)); return(Ok(menuItems)); }