public void Seed(SmartObjectContext context) { if (DataSettings.DatabaseIsInstalled()) { DataMigrator.AddGranularPermissions(context); } }
public void Seed(SmartObjectContext context) { context.MigrateLocaleResources(MigrateLocaleResources); context.SaveChanges(); if (DataSettings.DatabaseIsInstalled()) { DataMigrator.AddGranularPermissions(context); } }