public void AddCharacter(Character character) { using (var mdbc = new MovieDBContext()) { mdbc.Characters.Add(character); mdbc.SaveChanges(); } }
public DBManager() { context = new MovieDBContext(); }