Moved department method into its own controller class