public IActionResult GetAllForAdmin() { var menus = _menuFacade.GetAllForAdmin(SiteId); return(Ok(menus)); }
public async Task <IActionResult> GetAllForAdmin() { var menus = await Task.Run(() => _menuFacade.GetAllForAdmin(SiteId)); return(Ok(menus)); }