コード例 #1
0
        public void AddHashtag(string berichtID, string hashtag)
        {
            Hashtag h = repo.ReadHashtag(hashtag);

            if (h == null)
            {
                h = new Hashtag()
                {
                    Tekst = hashtag
                };
                repo.CreateHashtag(h);
            }
            repo.CreateBerichtHashtag(berichtID, h);
        }