internal static void ClearDatabase() { var context = new PoliticalContext(); context.RemoveRange(context.PoliticalParties); context.SaveChanges(); }
internal static void RecreateDatabase() { var context = new PoliticalContext(); context.Database.EnsureDeleted(); context.Database.EnsureCreated(); }
internal static string[] GetAllAbbreviatedNamesOrderedByFoundedDate() { var context = new PoliticalContext(); throw new NotImplementedException(); }
internal static void AddParty(PoliticalParty party) { var context = new PoliticalContext(); throw new NotImplementedException(); }