private function searchMenuLinkUsingID($list, $id)
    {
        foreach ($list as $menuLink){
            if($menuLink['menuLinkID'] == $id) {
                return $menuLink;
            }
        }
        throw new \Exception("Menu link doesn't exit, something is wrong");
    }