public void RemoveGroupCourseAndRelatedProgress( int groupCustomisationId, int groupId, bool deleteStartedEnrolment ) { using var transaction = new TransactionScope(); groupsDataService.RemoveRelatedProgressRecordsForGroupCourse( groupId, groupCustomisationId, deleteStartedEnrolment, clockService.UtcNow ); groupsDataService.DeleteGroupCustomisation(groupCustomisationId); transaction.Complete(); }