Beispiel #1
0
 public static void SeedData(DatabaseContext context, UserManager <Person> userManager, RoleManager <Entities.IdentityRole> roleManager)
 {
     RoleSeed.SeedData(roleManager);
     PersonSeed.SeedData(context, userManager);
     CitySeed.SeedData(context);
     BrandSeed.SeedData(context);
 }
        public AnimationWindow(int cityCount, int rowCount, int columnCount)
        {
            InitializeComponent();

            this.WindowState = WindowState.Maximized;

            Cities = CitySeed.SeedData(cityCount, rowCount, columnCount);
            PrepareTable(rowCount, columnCount);

            DrawGrid();
            GenerateCities();
        }