diff --git a/server/AyaNova/biz/ImportAyaNova7Biz.cs b/server/AyaNova/biz/ImportAyaNova7Biz.cs index 941d3e70..1aa0babb 100644 --- a/server/AyaNova/biz/ImportAyaNova7Biz.cs +++ b/server/AyaNova/biz/ImportAyaNova7Biz.cs @@ -120,7 +120,7 @@ namespace AyaNova.Biz //IMPORT Scheduleable User Groups AS TAGS await DoImport("GZTW.AyaNova.BLL.ScheduleableUserGroup", "main", AyaType.Tag, job.GId, importMap, importFileName, zipEntries); //Now can set users to correct tag for scheduleable user group - await DoImport("GZTW.AyaNova.BLL.User", "scheduleableusergrouptags", AyaType.User, job.GId, importMap, importFileName, zipEntries); + await DoImport("GZTW.AyaNova.BLL.ScheduleableUserGroup", "scheduleableusergrouptags", AyaType.Tag, job.GId, importMap, importFileName, zipEntries); diff --git a/server/AyaNova/biz/TagBiz.cs b/server/AyaNova/biz/TagBiz.cs index 91eb1a4b..21344c92 100644 --- a/server/AyaNova/biz/TagBiz.cs +++ b/server/AyaNova/biz/TagBiz.cs @@ -333,6 +333,14 @@ namespace AyaNova.Biz } break; + case "scheduleableusergrouptags": + { + var V7Id = new Guid(j["ID"].Value()); + var RavenId = importMap.Where(m => m.V7ObjectId == V7Id).First().NewObjectAyaTypeId.ObjectId; + //handle tag entries for users now that we have the SUG tags created + // throw new System.NotImplementedException(); + } + break; } diff --git a/server/AyaNova/biz/UserBiz.cs b/server/AyaNova/biz/UserBiz.cs index 51b6fa77..bfaa5208 100644 --- a/server/AyaNova/biz/UserBiz.cs +++ b/server/AyaNova/biz/UserBiz.cs @@ -414,6 +414,7 @@ namespace AyaNova.Biz { case "main": { + #region Main import var V7Id = new Guid(j["ID"].Value()); //skip the administrator account but add it to the map for all the other import code that requires it @@ -470,6 +471,7 @@ namespace AyaNova.Biz importMap.Add(mapItem); } + #endregion } break; case "eventlog": @@ -479,6 +481,7 @@ namespace AyaNova.Biz break; case "locale": { + #region set locale //get the userId //---- var V7Id = new Guid(j["ID"].Value()); @@ -531,16 +534,10 @@ namespace AyaNova.Biz u.LocaleId = LocaleBiz.LocaleNameToIdStatic(NewLocaleName, ct); ct.SaveChanges(); - - } - break; - case "scheduleableusergrouptags": - { - var V7Id = new Guid(j["ID"].Value()); - //handle tag entries for users now that we have the SUG tags created - // throw new System.NotImplementedException(); + #endregion set locale } break; + case "clientid": { var V7Id = new Guid(j["ID"].Value());