@@ -19,7 +19,7 @@ public class SeedHelper
1919 {
2020 public static async Task < int > CreateAccidentTypesList ( Core core )
2121 {
22- EntityGroupList model = await core . Advanced_EntityGroupAll (
22+ var model = await core . Advanced_EntityGroupAll (
2323 "id" ,
2424 "eform-angular-workflow-plugin-editable-AccidentType" ,
2525 0 , 1 , Constants . FieldTypes . EntitySelect ,
@@ -37,7 +37,7 @@ public static async Task<int> CreateAccidentTypesList(Core core)
3737
3838 public static async Task < int > CreateAccidentLocationList ( Core core )
3939 {
40- EntityGroupList model = await core . Advanced_EntityGroupAll (
40+ var model = await core . Advanced_EntityGroupAll (
4141 "id" ,
4242 "eform-angular-workflow-plugin-editable-AccidentLocations" ,
4343 0 , 1 , Constants . FieldTypes . EntitySelect ,
@@ -67,11 +67,11 @@ public static async Task<int> CreateNewTaskEform(Core core)
6767 {
6868 timeZoneInfo = TimeZoneInfo . FindSystemTimeZoneById ( "E. Europe Standard Time" ) ;
6969 }
70- int accidentTypesList = await CreateAccidentTypesList ( core ) ;
71- int accidentLocationList = await CreateAccidentLocationList ( core ) ;
72- Language language = await sdkDbContext . Languages . FirstAsync ( ) ;
70+ var accidentTypesList = await CreateAccidentTypesList ( core ) ;
71+ var accidentLocationList = await CreateAccidentLocationList ( core ) ;
72+ var language = await sdkDbContext . Languages . FirstAsync ( ) ;
7373
74- List < Template_Dto > templatesDto = await core . TemplateItemReadAll ( false ,
74+ var templatesDto = await core . TemplateItemReadAll ( false ,
7575 "" ,
7676 "eform-angular-workflow-plugin-newtask" ,
7777 false ,
@@ -92,7 +92,7 @@ public static async Task<int> CreateNewTaskEform(Core core)
9292 return id ;
9393 }
9494
95- MainElement newTaskForm = new MainElement
95+ var newTaskForm = new MainElement
9696 {
9797 Id = 5769 ,
9898 Repeated = 0 ,
@@ -106,7 +106,7 @@ public static async Task<int> CreateNewTaskEform(Core core)
106106 EnableQuickSync = true ,
107107 } ;
108108
109- List < DataItem > dataItems = new List < DataItem >
109+ var dataItems = new List < DataItem >
110110 {
111111 new Date (
112112 371265 ,
@@ -190,7 +190,7 @@ public static async Task<int> CreateNewTaskEform(Core core)
190190 } ;
191191
192192
193- DataElement dataElement = new DataElement (
193+ var dataElement = new DataElement (
194194 142108 ,
195195 "Ny opgave|New task|Neue Aufgabe" ,
196196 0 ,
@@ -221,7 +221,7 @@ public static async Task<int> CreateNewTaskEform(Core core)
221221 public static async Task < int > CreateTaskListEform ( Core core )
222222 {
223223 var sdkDbContext = core . DbContextHelper . GetDbContext ( ) ;
224- string timeZone = "Europe/Copenhagen" ;
224+ var timeZone = "Europe/Copenhagen" ;
225225 TimeZoneInfo timeZoneInfo ;
226226
227227 try
@@ -233,8 +233,8 @@ public static async Task<int> CreateTaskListEform(Core core)
233233 timeZoneInfo = TimeZoneInfo . FindSystemTimeZoneById ( "E. Europe Standard Time" ) ;
234234 }
235235
236- Language language = await sdkDbContext . Languages . FirstAsync ( ) ;
237- List < Template_Dto > templatesDto = await core . TemplateItemReadAll ( false ,
236+ var language = await sdkDbContext . Languages . FirstAsync ( ) ;
237+ var templatesDto = await core . TemplateItemReadAll ( false ,
238238 "" ,
239239 "eform-angular-workflow-plugin-tasklist" ,
240240 false ,
@@ -255,7 +255,7 @@ public static async Task<int> CreateTaskListEform(Core core)
255255 return id ;
256256 }
257257
258- MainElement taskListForm = new MainElement
258+ var taskListForm = new MainElement
259259 {
260260 Id = 7680 ,
261261 Repeated = 0 ,
@@ -269,7 +269,7 @@ public static async Task<int> CreateTaskListEform(Core core)
269269 EnableQuickSync = true
270270 } ;
271271
272- List < DataItem > dataItems = new List < DataItem >
272+ var dataItems = new List < DataItem >
273273 {
274274 new None (
275275 371267 ,
@@ -350,7 +350,7 @@ public static async Task<int> CreateTaskListEform(Core core)
350350 } ;
351351
352352
353- DataElement dataElement = new DataElement (
353+ var dataElement = new DataElement (
354354 142109 ,
355355 "Hændelse registreret|Incident registered|Vorfall registriert" ,
356356 0 ,
@@ -379,7 +379,7 @@ public static async Task<int> CreateTaskListEform(Core core)
379379 public static async Task < int > CreateInstructioneForm ( Core core )
380380 {
381381 var sdkDbContext = core . DbContextHelper . GetDbContext ( ) ;
382- string timeZone = "Europe/Copenhagen" ;
382+ var timeZone = "Europe/Copenhagen" ;
383383 TimeZoneInfo timeZoneInfo ;
384384
385385 try
@@ -391,8 +391,8 @@ public static async Task<int> CreateInstructioneForm(Core core)
391391 timeZoneInfo = TimeZoneInfo . FindSystemTimeZoneById ( "E. Europe Standard Time" ) ;
392392 }
393393
394- Language language = await sdkDbContext . Languages . FirstAsync ( ) ;
395- List < Template_Dto > templatesDto = await core . TemplateItemReadAll ( false ,
394+ var language = await sdkDbContext . Languages . FirstAsync ( ) ;
395+ var templatesDto = await core . TemplateItemReadAll ( false ,
396396 "" ,
397397 "eform-angular-workflow-plugin-instructions" ,
398398 false ,
@@ -413,7 +413,7 @@ public static async Task<int> CreateInstructioneForm(Core core)
413413 return id ;
414414 }
415415
416- MainElement taskListForm = new MainElement
416+ var taskListForm = new MainElement
417417 {
418418 Id = 7680 ,
419419 Repeated = 0 ,
@@ -427,7 +427,7 @@ public static async Task<int> CreateInstructioneForm(Core core)
427427 EnableQuickSync = true
428428 } ;
429429
430- List < DataItem > dataItems = new List < DataItem >
430+ var dataItems = new List < DataItem >
431431 {
432432 new None (
433433 371267 ,
@@ -456,7 +456,7 @@ public static async Task<int> CreateInstructioneForm(Core core)
456456
457457
458458
459- DataElement dataElement = new DataElement (
459+ var dataElement = new DataElement (
460460 142109 ,
461461 "Brugervejledning|User Manual|Benutzerhandbuch" ,
462462 0 ,
0 commit comments