From aeb61ebcf10e64e2d45dc1e045c115515c8f832f Mon Sep 17 00:00:00 2001 From: Tim Young Date: Tue, 8 Aug 2017 14:31:03 -0500 Subject: [PATCH] change idea in psuedocode for how to handle admin bulk import of homework. Simplified it considerably --- EduNetworkBuilder/PersonClass.cs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/EduNetworkBuilder/PersonClass.cs b/EduNetworkBuilder/PersonClass.cs index c3e275a..fb9a191 100644 --- a/EduNetworkBuilder/PersonClass.cs +++ b/EduNetworkBuilder/PersonClass.cs @@ -297,15 +297,10 @@ namespace EduNetworkBuilder totalHW++; if(isAdmin) { - //we want to prompt what to do. - //Ask for each (import, skip, replace) - //Ask only for duplicates - // Determine it is duplicate by comparing ID - // Determine if it is duplicate by comparing name - //Never ask - // Automatically replace duplicates - // Automatically skip duplicates - // Import records but make a new ID for each puzzle + //use a check-box list + //Use due date and name + already exists (name / ID) + //they check if they want to import + //We never overwrite, we make a new one, with new ID } else {