Пример #1
0
        public ActionResult NewsFeedPartial()
        {
            var listOfFriendsID = friendDataAccess.GetListOfFriendsID((int)Session["user_id"]);

            listOfFriendsID.Add((int)Session["user_id"]);

            return(PartialView("NewsFeedPartialView", postDataAccess.GetUserNewsFeed(listOfFriendsID)));
        }