public void FillCountries() { using (var context = new OctoContext()) { context.Countries.Add(new Country { Name = "Armenia" }); context.SaveChanges(); } }
public void InitializeSalutations() { using (var context = new OctoContext()) { var account = new Account { Name = "Second account", CountryId = 1 }; context.Accounts.Add(account); context.SaveChanges(); } }