private static void SeedSystemSettings(ayushContext context) { if (context.SystemInformation.Any() == false) { List <SystemInformation> settings = new List <SystemInformation>() { new SystemInformation() { PropertyName = "Name", PropertyValue = "UPCLASS" }, new SystemInformation() { PropertyName = "Address", PropertyValue = "UPCLASS" }, new SystemInformation() { PropertyName = "Email", PropertyValue = "UPCLASS" }, new SystemInformation() { PropertyName = "PhoneNumber1", PropertyValue = "UPCLASS" }, new SystemInformation() { PropertyName = "PhoneNumber2", PropertyValue = "UPCLASS" } }; context.AddRange(settings); context.SaveChanges(); } }