public void DeleteAllTagsByPostID()
        {
            Deleterepo.DeleteAllTagsByPostID(10);

            var tags = Readrepo.GetTagsByPostID(10);

            Assert.AreEqual(0, tags.Count);
        }
        public void AddTag()
        {
            HashTag newtag = new HashTag();

            newtag.ActualHashTag = "Golfwods";

            Createrepo.AddTag(10, newtag);

            var result = Readrepo.GetTagsByPostID(10);

            Assert.AreEqual(9, result.FirstOrDefault(m => m.TagID == 9).TagID);
        }
        public void GetTagsByPostID()
        {
            var tags = Readrepo.GetTagsByPostID(1);

            Assert.AreEqual(1, tags.FirstOrDefault(m => m.TagID == 1).TagID);
        }