Website getWebsiteByRootPageNavigationId() { //get the website associated with the root webpage. //we are assuming a 1-to-1 relationship in the database. return(Website.Find(null, null, _rootPageNavigationId, null, null).First); }