Add audit events for API archive calls via service refactor

What does this MR do and why?

Move audit event logging for project archive and unarchive operations from the ProjectsController to dedicated service classes. This change improves separation of concerns by handling audit logging within the business logic layer rather than the controller layer.

This refactoring enables audit events for API calls to archive and unarchive projects, which previously only logged events through the web interface.

References

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #500571 (closed)

Merge request reports

Loading