private Tag CreateAndSaveTag(string englishName) { var t = CreateEntry.Tag(englishName); _repository.Save(t); foreach (var name in t.Names) { _repository.Save(name); } return(t); }
public void SetUp() { repository.Save( CreateEntry.Tag("electronic"), CreateEntry.Tag("rock"), CreateEntry.Tag("alternative rock"), CreateEntry.Tag("techno")); }