Added Base Model TrackableBaseEntity:
Introduced a reusable base model for non-business entities to track changes such as CreatedBy, ModifiedBy, CreatedAt, and
ModifiedAt.
Added WorkshopDraft and TeacherDraft introduced models to store draft data for workshops and teachers
Added IWorkshopDraftRepository, added methods Update and Delete to ensure data consistency during concurrent access.
Added сustom exceptions EntityDeletedConflictException and EntityModifiedConflictException
Summary of Changes:
TrackableBaseEntity
: Introduced a reusable base model for non-business entities to track changes such as CreatedBy, ModifiedBy, CreatedAt, and ModifiedAt.WorkshopDraf
t andTeacherDraft
introduced models to store draft data for workshops and teachersIWorkshopDraftRepository
, added methodsUpdate
andDelete
to ensure data consistency during concurrent access.EntityDeletedConflictException
andEntityModifiedConflictException
Create
method toIWorkshopDraftService