private static void ApplyMigrations(BankDbContext context) { context.Database.Migrate(); context.SaveChanges(); }
private static void AddBank(BankDbContext dbContext) { dbContext.Add(new Model.Bank()); dbContext.SaveChanges(); }