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()); }