public async Task DeleteProject(String projectID) { _logger.LogInformation($"Deleting project with ID of {projectID}"); Boolean success = await _projectsRepository.DeleteAsync(projectID); if (success) { _logger.LogInformation($"{projectID} deleted successfully, deleting all tasks"); await _tasksRepository.DeleteAllTasksForProjectAsync(projectID); _logger.LogInformation($"All Tasks for {projectID} deleted"); } }