public static void AddMonster(MONSTER monster) { DBEF.MONSTER.Add(monster); DBEF.SaveChanges(); }
/// <summary> /// Deletes a MONSTER from database. /// </summary> public static void DeleteMonster(MONSTER monster) { DBEF.MONSTER.Remove(monster); DBEF.SaveChanges(); }