コード例 #1
0
 public string getFacebookFeedByProfileId(string ProfileId, string FeedId)
 {
     try
     {
         Domain.Socioboard.Domain.FacebookFeed facebookfeed = objFacebookFeedRepository.getFacebookFeedByProfileId(ProfileId, FeedId);
         return(new JavaScriptSerializer().Serialize(facebookfeed));
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.StackTrace);
         return(null);
     }
 }
コード例 #2
0
 public string GetFacebookFeedByFeedId(string userid, string feedid)
 {
     try
     {
         Domain.Socioboard.Domain.FacebookFeed _FacebookFeed = objFacebookFeedRepository.GetFacebookFeedByFeedId(Guid.Parse(userid), feedid);
         return(new JavaScriptSerializer().Serialize(_FacebookFeed));
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.StackTrace);
         return("Something Went Wrong");
     }
 }