Exemple #1
0
        private Tag CreateAndSaveTag(string englishName)
        {
            var t = CreateEntry.Tag(englishName);

            _repository.Save(t);

            foreach (var name in t.Names)
            {
                _repository.Save(name);
            }

            return(t);
        }
Exemple #2
0
 public void SetUp()
 {
     repository.Save(
         CreateEntry.Tag("electronic"), CreateEntry.Tag("rock"), CreateEntry.Tag("alternative rock"), CreateEntry.Tag("techno"));
 }