public string getAllTwitterMentionsOfUsersByKeyword(string UserId, string ProfileId, string keyword) { try { List <Domain.Socioboard.Domain.TwitterMessage> lstTwitterMentions = objTwitterMessageRepository.getAllTwitterMentionsOfUsersByKeyword(UserId, ProfileId, keyword); return(new JavaScriptSerializer().Serialize(lstTwitterMentions)); } catch (Exception ex) { Console.WriteLine(ex.StackTrace); return("Something Went Wrong"); } }