Fixed the problem with the search pagination page and refactored the models to be in the web project.