MajorController - masonbesmer/Abet-Course-Assessment-Tool-Backend GitHub Wiki

This class handles the Majors in the database they can be called as commands as it is part of the controller class or used in code.

AddMajor() Adds a new major for a specified term, year, and name. Requires admin role for authorization.

GetMajors() Retrieves majors for a given term and year. Requires admin role for authorization.

EditMajor() Edits an existing major's name with a new value. Requires admin role for authorization.

DeleteMajor() Deletes a major for a specified term, year, and name. Requires admin role for authorization.

GetCoursesByMajor() Retrieves courses offered by a specific major for a given term, year, and major name. Requires admin role for authorization.

GetMajorOutcomesByMajor() Retrieves major outcomes associated with a specific major for a given term, year, and major name. Requires admin role for authorization.