Exemple #1
0
        protected override void Seed(IPosDbContext context)
        {
            if (IposConfig.UseMembership)
            {
                UserDataHelper.ConfigureIposMemberShip(context);
            }

            UserDataHelper.CreateRoles(context);
            var adminUser = UserDataHelper.CreateAdminUser(context);
            //UserDataHelper.CreateTestData(context, adminUser);
        }
Exemple #2
0
 protected override void Seed(PhonebookManager.DataAccess.Context.PhonebookManagerContext context)
 {
     var result = UserDataHelper.CreateAdminUser(context).Result;
 }