public void AddBranch(string name) { IBranch branch = factory.CreateBranch(name); repo.AddBranch(branch); }