-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Phase 2: Foundational
Task: T015
Status: Not Started
Story: Foundational (blocking all user stories)
Parallelizable: Yes - interface definition only
Description
Create CertificateAuditLog repository interface for immutable event log operations.
Acceptance Criteria
- File created: api/CourseRegistration.Infrastructure/Repositories/ICertificateAuditLogRepository.cs
- Interface methods defined:
- Task AddAsync(CertificateAuditLog auditEntry)
- Task<List> GetByCertificateIdAsync(Guid certificateId)
- Task<List> GetByEventTypeAsync(AuditEventType eventType)
- Task<List> GetByAdminIdAsync(int adminId)
- All methods are async
- Insert-only pattern: no Update/Delete methods in interface
- Soft delete pattern included (WHERE IsDeleted = 0)
- XML documentation
Effort Estimate
1 hour
References
- plan.md: Project Structure (Repositories)
- data-model.md: CertificateAuditLog Entity
Reactions are currently unavailable