// POST: api/Reaction public bool Post(ReactionDto reaction) { if (Session.Session.Validate(reaction.sessionId)) { ReactionBll reactionBll = new ReactionBll(); return(reactionBll.AddReaction(reaction)); } return(false); }
public IList <UserDto> GetAllUser(int tweetId) { ReactionBll reactionBll = new ReactionBll(); return(reactionBll.GetReactedUser(tweetId)); }