Esempio n. 1
0
        private void AddReferenceData(ModelBuilder modelBuilder, Guid sysUserId)
        {
            modelBuilder.AddNotificationTypes(sysUserId);
            modelBuilder.AddTicketCategoryData(sysUserId);
            modelBuilder.AddTicketPriorityData(sysUserId);
            modelBuilder.AddTicketImpactData(sysUserId);
            modelBuilder.AddTicketStatusData(sysUserId);
            modelBuilder.AddAminityMaster(sysUserId);
            modelBuilder.CreateAssociationRoles(sysUserId);
            modelBuilder.CreateAssetTypes();
            var adminId = modelBuilder.CreateAdminUser();

            modelBuilder.CreateSystemRoles(sysUserId, adminId);
        }