Beispiel #1
0
 public string getTwitterFeedByProfileId(string ProfileId, string MessageId)
 {
     try
     {
         Domain.Socioboard.Domain.TwitterFeed twtfeed = objTwitterFeedRepository.getTwitterFeedByProfileId(ProfileId, MessageId);
         return(new JavaScriptSerializer().Serialize(twtfeed));
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.StackTrace);
         return(null);
     }
 }
Beispiel #2
0
 public string GetTwitterFeedById(string id)
 {
     try
     {
         Domain.Socioboard.Domain.TwitterFeed twtfeed = objTwitterFeedRepository.getTwitterFeed(id);
         return(new JavaScriptSerializer().Serialize(twtfeed));
     }
     catch (Exception ex)
     {
         Console.Write(ex.StackTrace);
         return(null);
     }
 }