Пример #1
0
        public void Seed()
        {
            var services = InitDefaults.GetInitialServices();

            foreach (var service in services)
            {
                AddServiceIfNotExists(service);
            }
        }
Пример #2
0
        public void Seed()
        {
            var users = InitDefaults.GetInitialUsers();

            foreach (var user in users)
            {
                AddUserIfNotExists(user);
            }
        }