diff --git a/LootBoxSimulator/Program.cs b/LootBoxSimulator/Program.cs index 35c5446..423b5fb 100644 --- a/LootBoxSimulator/Program.cs +++ b/LootBoxSimulator/Program.cs @@ -5,11 +5,13 @@ using LootBoxSimulator.Models.DAO; RemoteDatabaseContext db = new RemoteDatabaseContext(); - +//add value CategoryDao newCategory = new CategoryDao { Name = "epic" }; +db.Categories.Add(newCategory); +db.SaveChanges(); //change value var categoriesUpd = db.Categories.Find(3); if(categoriesUpd == null) return;