public string Category() { ACMEDbContext context = new ACMEDbContext(); var categories = DummyData.CreateCategories(); categories.ForEach(category => { context.Categories.Add(category); }); context.SaveChanges(); return("Dummy data added to DB"); }