private static void CallSeeder(BasicTestAppDbContext context) { AccountDataModel account = new AccountDataModel() { AccountId = 1, Created = new DateTime(2017, 10, 10), AccountName = "Test", CreatedBy = "Fenix" }; context.Accounts.Add(account); context.SaveChanges(); }
public static void EnsureSeedDataForTest(this BasicTestAppDbContext context) { CallSeeder(context); }