public FeedAjaxInfo FeedPreview(string captionFeed, string bodyFeed) { var feed = new FeedAjaxInfo { FeedCaption = captionFeed, FeedText = HtmlUtility.GetFull(bodyFeed), Date = TenantUtil.DateTimeNow().Ago(), UserName = CoreContext.UserManager.GetUsers(SecurityContext.CurrentAccount.ID).RenderProfileLink(CommunityProduct.ID) }; return(feed); }
public FeedAjaxInfo FeedPreview(string captionFeed, string bodyFeed) { var feed = new FeedAjaxInfo { FeedCaption = captionFeed, FeedText = HtmlUtility.GetFull(bodyFeed), Date = TenantUtil.DateTimeNow().Ago(), UserName = CoreContext.UserManager.GetUsers(SecurityContext.CurrentAccount.ID).RenderProfileLink(CommunityProduct.ID) }; return feed; }