Removed Reference to a file that doesn't exist.
Corrected type that was calling wrong object->function.
Created chart of all Models & Controller functions and which pages require them to work. In preperation to rename & reorganize functions across all Models & Controllers.
Moved getQuestions() function from Document Controller to Questions Controller & renamed the function to listQuestions()
Moved listTables() function from Document Controller to Tables Controller.
Moved buildTable() function from Document Controller to Tables Controller.
Moved getTableData() Function from Document Controller to Tables Controller.
Moved getSection() function from Document Controller to Sections Controller and renamed the function listSections().
Moved getPart() function from Document Controller to Parts Controller and renamed function listParts().
Moved getPage() function from Document Controller to Pages Controller & renamed function listPages().
moved getAvailablePages() function from Schools Controller to Document Controller.
Moved AssignPage() function from Schools Controller to Document Controller.
Moved UnassignPage() function from Schools Controller to Document Controller.
Moved GetPages() function from Schools Controller to Document Controller and updated function so it can pull from any location not just '15' ;)
Moved GetSchoolPages() function from Schools Controller to Document Controller & renamed the function 'ListSchoolPages()'.
Moved GetSchoolTypePages() function from Schools Controller to Document Controller & renamed function 'ListSchoolTypePages()'.
Created Document Model. Moved AddPageToSchool() function from School Model to Document Model.
Moved AddPageToSchoolType() Function from School Model to Document Model.
Moved AssignPage() function(s) from School Model to Document Model.
Moved UnassignPage() Function from School Model to Document Model.