示例#1
0
        /// <summary>
        /// Cleans up additional project settings
        /// </summary>
        /// <param name="project">Project to clean up for</param>
        /// <returns>Task</returns>
        private async Task CleanUpAdditionalProjectData(GoNorthProject project)
        {
            await _taskNumberDbAccess.DeleteCounterForProject(project.Id);

            await _userTaskBoardHistoryDbAccess.DeleteUserTaskBoardHistoryForProject(project.Id);

            await _exportTemplateDbAccess.DeleteTemplatesForProject(project.Id);

            await _exportSettingsDbAccess.DeleteExportSettings(project.Id);

            await _projectConfigDbAccess.DeleteConfigsForProject(project.Id);

            await _kirjaPageDbAccess.DeletePagesForProject(project.Id);
        }