protected override void Seed(IPosDbContext context) { if (IposConfig.UseMembership) { UserDataHelper.ConfigureIposMemberShip(context); } UserDataHelper.CreateRoles(context); var adminUser = UserDataHelper.CreateAdminUser(context); //UserDataHelper.CreateTestData(context, adminUser); }
protected override void Seed(PhonebookManager.DataAccess.Context.PhonebookManagerContext context) { var result = UserDataHelper.CreateAdminUser(context).Result; }