public HashtagManager() { entryBusiness = new Entry(_db); userBusiness = new User(_db); hashtagBusiness = new Hashtag(_db); entryHashtagBusiness = new Entry_Hashtag(_db); users = new List <Model.User>(); }
public IList <User> GetAllTweetBasedOnHashTags(Hashtag HastagString) { if (HastagString != null && HastagString.TagName != null) { return(userDAC.SearchPosts(HastagString.TagName)); } else { return(null); } }