Exemplo n.º 1
0
        public HashtagManager()
        {
            entryBusiness        = new Entry(_db);
            userBusiness         = new User(_db);
            hashtagBusiness      = new Hashtag(_db);
            entryHashtagBusiness = new Entry_Hashtag(_db);

            users = new List <Model.User>();
        }
Exemplo n.º 2
0
 public IList <User> GetAllTweetBasedOnHashTags(Hashtag HastagString)
 {
     if (HastagString != null && HastagString.TagName != null)
     {
         return(userDAC.SearchPosts(HastagString.TagName));
     }
     else
     {
         return(null);
     }
 }