public string getTwtMention(string profileId, Guid userid, int days) { TwitterMessageRepository objretwt = new TwitterMessageRepository(); string count = string.Empty; try { ArrayList alstTwt = objretwt.getMentionStatsByProfileId(profileId, userid, days); count = alstTwt[0].ToString(); } catch (Exception Err) { Console.Write(Err.StackTrace); } return count; }
public string GetMentionStatsCountByProfileIdAndUserId(string profileId, Guid userid, int days) { TwitterMessageRepository objretwt = new TwitterMessageRepository(); int count = 0; try { count = objretwt.GetMentionStatsCountByProfileIdAndUserId(userid, profileId, days); } catch (Exception Err) { count = 0; Console.Write(Err.StackTrace); } return count.ToString(); }